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.
This commit is contained in:
Harald Welte 2011-10-16 21:35:21 +02:00
parent 066a0f5c0b
commit d4c6f8b343
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}