summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-27 19:47:44 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-27 19:48:27 +0200
commit4bcbd17aa4c548d5bd89bb731cddcd610275a783 (patch)
tree4aabe6538cd10a9244e80bc4551e2a7a3fcb4ca2
parentd5833a8dcc1d9c38c4271f4522b27214009cb073 (diff)
Fix BSSMAP RESET in handler mode
This fixes I55c94f18531bb7e5369500dc90f4b0ff3a420774 which was merged a bit too fast, it seems. Change-Id: I42f663f47d38c9e0fd0c0148aacafbf0ecaf3448
-rw-r--r--bsc/BSC_Tests.ttcn3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 906e214..58f2704 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -307,12 +307,13 @@ function f_init(integer nr_bts := NUM_BTS, boolean handler_mode := false) runs o
* MSC-side BSSAP emulation */
if (handler_mode) {
f_bssap_init(g_bssap, mp_bssap_cfg, "VirtMSC", MSC_BssmapOps);
+ f_bssap_start(g_bssap);
} else {
f_bssap_init(g_bssap, mp_bssap_cfg, "VirtMSC", omit);
connect(self:BSSAP, g_bssap.vc_SCCP:SCCP_SP_PORT);
+ f_bssap_start(g_bssap);
f_legacy_bssap_reset();
}
- f_bssap_start(g_bssap);
f_ipa_ctrl_start(mp_bsc_ip, mp_bsc_ctrl_port);