aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index ec17ef21..e0f09b98 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -264,6 +264,7 @@ public:
GprsMsStorage &ms_store();
GprsMs *ms_by_tlli(uint32_t tlli, uint32_t old_tlli = 0);
+ GprsMs *ms_by_imsi(const char *imsi);
GprsMs *ms_alloc(uint8_t ms_class);
/*
@@ -333,6 +334,11 @@ inline GprsMs *BTS::ms_by_tlli(uint32_t tlli, uint32_t old_tlli)
return ms_store().get_ms(tlli, old_tlli);
}
+inline GprsMs *BTS::ms_by_imsi(const char *imsi)
+{
+ return ms_store().get_ms(0, 0, imsi);
+}
+
inline BTS *gprs_rlcmac_pdch::bts() const
{
return trx->bts;