aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gprs_gmm.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-12 16:43:58 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-12 16:43:58 +0200
commit72b61e434444e3472071b6fb16b5fd89c5f1c93c (patch)
tree76bc6184485580b9170c6aea8ce25bcd0e527564 /src/gprs/gprs_gmm.c
parent39aa9ee6dff9bc53441e394a45c30c4de8a53cb1 (diff)
gprs_gmm.c: Improve doc on nullable parameters
Diffstat (limited to 'src/gprs/gprs_gmm.c')
-rw-r--r--src/gprs/gprs_gmm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index c93ddf42d..f3ba2902d 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -1959,7 +1959,7 @@ static int gsm48_rx_gmm_status(struct sgsn_mm_ctx *mmctx, struct msgb *msg)
return 0;
}
-/* GPRS Mobility Management */
+/* Rx GPRS Mobility Management. MMCTX can be NULL when called. On !Gb (Iu), llme is NULL */
static int gsm0408_rcv_gmm(struct sgsn_mm_ctx *mmctx, struct msgb *msg,
struct gprs_llc_llme *llme, bool drop_cipherable)
{
@@ -1967,7 +1967,6 @@ static int gsm0408_rcv_gmm(struct sgsn_mm_ctx *mmctx, struct msgb *msg,
struct gsm48_hdr *gh = (struct gsm48_hdr *) msgb_gmmh(msg);
int rc;
- /* MMCTX can be NULL when called */
if (drop_cipherable && gsm48_hdr_gmm_cipherable(gh)) {
LOGMMCTXP(LOGL_NOTICE, mmctx, "Dropping cleartext GMM %s which "
"is expected to be encrypted for TLLI 0x%08x\n",