lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43596?usp=email )
Change subject: gprs_gmm: cosmetic ......................................................................
gprs_gmm: cosmetic
Change-Id: I8f3e647cb7dc3a1b59a560e0301e4d4db1f94f8b --- M src/sgsn/gprs_gmm.c 1 file changed, 4 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/96/43596/1
diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c index c32bb7b..a324066 100644 --- a/src/sgsn/gprs_gmm.c +++ b/src/sgsn/gprs_gmm.c @@ -196,7 +196,6 @@ sgsn_mm_ctx_cleanup_free(ctx); }
- /* 3GPP TS 24.008 § 10.5.7.1 Process PDP context status value, bit 0 corresponds to nsapi 0 */ static void process_ms_ctx_status(struct sgsn_mm_ctx *mmctx, uint16_t pdp_status) @@ -891,8 +890,9 @@
return gsm48_gmm_sendmsg(msg, 0, NULL, true); } + static int gsm48_tx_gmm_service_rej_oldmsg(const struct msgb *old_msg, - uint8_t gmm_cause) + uint8_t gmm_cause) { struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 SERVICE REJ OLD"); gmm_copy_id(msg, old_msg); @@ -901,7 +901,7 @@ #if 0 -- currently unused -- static int gsm48_tx_gmm_service_rej(struct sgsn_mm_ctx *mm, - uint8_t gmm_cause) + uint8_t gmm_cause) { struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 SERVICE REJ"); mmctx2msgid(msg, mm); @@ -1408,7 +1408,6 @@ gprs_llgmm_unassign(llme);
return rc; - }
/* 3GPP TS 24.008 § 9.4.3 Attach complete */ @@ -1773,7 +1772,7 @@ #endif if (mmctx->ran_type == MM_CTX_T_GERAN_Gb) { /* Even if there is no P-TMSI allocated, the MS will switch from - * foreign TLLI to local TLLI */ + * foreign TLLI to local TLLI */ mmctx->gb.tlli_new = gprs_tmsi2tlli(mmctx->p_tmsi, TLLI_LOCAL);
/* Inform LLC layer about new TLLI but keep accepting the old one during Rx */ @@ -1975,10 +1974,8 @@ rc = gsm48_tx_gmm_service_rej_oldmsg(msg, reject_cause);
return rc; - }
- static int gsm48_rx_gmm_status(struct sgsn_mm_ctx *mmctx, struct msgb *msg) { struct gsm48_hdr *gh = msgb_l3(msg);