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
This commit is contained in:
Pau Espin 2019-06-03 13:15:58 +02:00 committed by Harald Welte
parent 1365a4e7c5
commit f8034480a0
1 changed files with 1 additions and 1 deletions

View File

@ -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) {