aboutsummaryrefslogtreecommitdiffstats
path: root/sgsn
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2020-01-28 14:39:25 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2020-01-28 14:39:25 +0100
commit1c2ff0fa93b7a6f597c26c5badab3f73975d7df3 (patch)
treed7a447b1377c89849057eae80d0a107a7e9bd52d /sgsn
parente30d543576e62a80199e657625cc0f7d7e8edd0d (diff)
SGSN_Tests: Only call f_bssgp_client_llgmm_assign for Gb RAN
Calling this function with Iu RAN (ran_index > 2) does not work because BSSGP_PROC[ran_index] doesn't exist. Change-Id: Ieef654e3886759a40763ece3903de9127ba8d9c6 Related: OS#3727
Diffstat (limited to 'sgsn')
-rw-r--r--sgsn/SGSN_Tests.ttcn4
1 files changed, 3 insertions, 1 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index f0704293..800c9788 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -677,7 +677,9 @@ function f_upd_ptmsi_and_tlli(OCT4 p_tmsi, integer ran_index := 0) runs on BSSGP
/* update TLLI */
g_pars.tlli_old := g_pars.tlli;
g_pars.tlli := g_pars.p_tmsi or4b 'c0000000'O;
- f_bssgp_client_llgmm_assign(g_pars.tlli_old, g_pars.tlli, BSSGP_PROC[ran_index]);
+ if (is_gb(ran_index)) {
+ f_bssgp_client_llgmm_assign(g_pars.tlli_old, g_pars.tlli, BSSGP_PROC[ran_index]);
+ }
}
function f_process_attach_accept(PDU_GMM_AttachAccept aa) runs on BSSGP_ConnHdlr {