aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs_ms.c')
-rw-r--r--src/gprs_ms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_ms.c b/src/gprs_ms.c
index 9ce3d823..909e7f8b 100644
--- a/src/gprs_ms.c
+++ b/src/gprs_ms.c
@@ -558,7 +558,7 @@ void ms_set_imsi(struct GprsMs *ms, const char *imsi)
"Modifying MS object, TLLI = 0x%08x, IMSI '%s' -> '%s'\n",
ms_tlli(ms), ms->imsi, imsi);
- struct GprsMs *old_ms = bts_ms_by_imsi(ms->bts, imsi);
+ struct GprsMs *old_ms = bts_get_ms_by_imsi(ms->bts, imsi);
/* Check if we are going to store a different MS object with already
existing IMSI. This is probably a bug in code calling this function,
since it should take care of this explicitly */