From 325f106b34fb03684ec99b56d285c42d912ecd28 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 7 Dec 2018 16:39:52 +0100 Subject: 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 --- src/libmsc/gsm_04_08.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3