From d4c6f8b343112d6bcd351085412cf10018b3bfe0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 16 Oct 2011 21:35:21 +0200 Subject: GPRS GMM: When we receive a RA UPD REQ, we are NORMAL even after SUSPEND There is no explicit BSSGP RESUME in case the MS sends a RA UPD REQ after being in SUSPEND previously. --- openbsc/src/gprs/gprs_gmm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index 73f62d387..cc9d2972e 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -992,6 +992,9 @@ static int gsm48_rx_gmm_ra_upd_req(struct sgsn_mm_ctx *mmctx, struct msgb *msg, process_ms_ctx_status(mmctx, pdp_status); } + /* Make sure we are NORMAL (i.e. not SUSPENDED anymore) */ + mmctx->mm_state = GMM_REGISTERED_NORMAL; + /* Send RA UPDATE ACCEPT */ return gsm48_tx_gmm_ra_upd_ack(mmctx); } -- cgit v1.2.3