aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-13 18:31:21 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-15 13:12:36 +0200
commitc21be623807e58c3593838cfd21fe95fa2c21a69 (patch)
tree1f2acbb50a2906743c3d9ba24dd4d2829bf045f3
parent1927052de63e10044850b533a62c5018ec19606d (diff)
gprs_gmm.c: Use correct function to set MM_IDLE state during cleanup
-rw-r--r--src/gprs/gprs_gmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index 718fc97..bb0e002 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -327,7 +327,7 @@ static void mm_ctx_cleanup_free(struct sgsn_mm_ctx *ctx, const char *log_text)
/* Mark MM state as deregistered */
ctx->gmm_state = GMM_DEREGISTERED;
mmctx_set_pmm_state(ctx, PMM_DETACHED);
- mmctx_set_pmm_state(ctx, MM_IDLE);
+ mmctx_set_mm_state(ctx, MM_IDLE);
sgsn_mm_ctx_cleanup_free(ctx);
}