diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-10-16 21:35:21 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-10-16 21:35:21 +0200 |
commit | d4c6f8b343112d6bcd351085412cf10018b3bfe0 (patch) | |
tree | 1ba727ea27e07b1cc4dc17b64414744793096f9a | |
parent | 066a0f5c0b294f634b1bd045d1a939d7b7f38e7c (diff) |
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.
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |