diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2016-02-23 20:14:50 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:11 +0100 |
commit | da7424cc548ad99e0ad7395bd668c505f5e5f66f (patch) | |
tree | 39f25bda15f7d51a0fa30d0316400ee437e4ecda | |
parent | 8146cfa782ae8c27c7d490f12504f0342e07fb86 (diff) |
gprs_gmm: Log service request if not receieved from Iu mode
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index 3eeae6b34..d22411a3c 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -1405,8 +1405,10 @@ static int gsm48_rx_gmm_service_req(struct sgsn_mm_ctx *ctx, struct msgb *msg) LOGMMCTXP(LOGL_INFO, ctx, "-> GMM SERVICE REQUEST "); /* This message is only valid in Iu mode */ - if (!msg->dst) + if (!msg->dst) { + LOGPC(DMM, LOGL_INFO, "Invalid if not in Iu mode\n"); return -1; + } /* Skip Ciphering key sequence number 10.5.1.2 */ ciph_seq_nr = *cur & 0x07; |