aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-07 16:39:52 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-10 14:21:03 +0100
commit325f106b34fb03684ec99b56d285c42d912ecd28 (patch)
treec8af7396ade81c99978f3c7b7718efca78b25ffc
parent212c0c9bdaf1166e3bcbab85f3ab31dc17162f5b (diff)
drop gsm48 RR ciph mode compl from permitted initial messages
It is a message that is initially permitted, but it is in fact not handled in the L3 code but already before, upon receiving BSS_MAP_MSG_CIPHER_MODE_COMPLETE. Change-Id: I0079f07271ca76bd457d0e700f3a736eb9066b47
-rw-r--r--src/libmsc/gsm_04_08.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmsc/gsm_04_08.c b/src/libmsc/gsm_04_08.c
index 29627602e..95c31831c 100644
--- a/src/libmsc/gsm_04_08.c
+++ b/src/libmsc/gsm_04_08.c
@@ -1296,7 +1296,8 @@ static bool msg_is_initially_permitted(const struct gsm48_hdr *hdr)
break;
case GSM48_PDISC_RR:
switch (msg_type) {
- case GSM48_MT_RR_CIPH_M_COMPL:
+ /* GSM48_MT_RR_CIPH_M_COMPL is actually handled in bssmap_rx_ciph_compl() and gets redirected in the
+ * BSSAP layer to ran_conn_cipher_mode_compl() (before this here is reached) */
case GSM48_MT_RR_PAG_RESP:
return true;
default: