aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-06-03 13:15:58 +0200
committerHarald Welte <laforge@gnumonks.org>2019-06-03 14:04:50 +0000
commitf8034480a00abeffee3bc9f4f5783a72f2efa8cb (patch)
treede50fe5ba3108ed94b51b8871628f20323a774a6
parent1365a4e7c5f77325d429bb2298ee90edf2c66535 (diff)
msc: Fix Iu tests timing out due to explicit CM ServiceAccept not recvd
Even if ciphering it not enabled, osmo-msc still sends a SecurityModeCommand to use IntegrityProtection, and as a result osmo-msc assumes implicit ACCEPT in all UTRAN CM service requests. Fixes: OS#3991 Change-Id: Ida91f907dd6dfae68cbc63752ddc6f2948792689
-rw-r--r--msc/BSC_ConnectionHandler.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index c1114a66..b5dbb87e 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -359,7 +359,7 @@ runs on BSC_ConnHdlr {
f_cl3_or_initial_ue(l3_info);
f_mm_common();
- if (g_pars.net.expect_ciph) {
+ if (g_pars.net.expect_ciph or not g_pars.ran_is_geran) {
/* implicit CM SERVICE ACCEPT? */
} else {
if (etype != EST_TYPE_PAG_RESP) {