diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-13 04:13:09 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2023-07-14 14:48:01 +0000 |
commit | cc92ba77ab169312c24bab42cae5b3196e51be68 (patch) | |
tree | 7e1de921c9e2a9f97a5bc3fe04b63edde43a577a | |
parent | 75ad9a63bb4ffccb4d81f48963623ba51d363b0e (diff) |
BTS_Tests: properly release TCH in f_TC_speech_no_rtp()
Otherwise we're getting a DTE when trying to run this function more
than once in a single testcase (e.g. when testing different channel
modes). This is already done properly in f_TC_speech_rtp().
Change-Id: I290789153bea4b128af29dcf7c52da16b64c4108
Related: SYS#5919, OS#4823
-rw-r--r-- | bts/BTS_Tests.ttcn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 5a34a8c6..9482561f 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -8278,6 +8278,8 @@ private function f_TC_speech_no_rtp(charstring id) runs on ConnHdlr { f_rsl_chan_deact(); f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr); + f_rsl_chan_deact(); + f_rslem_unregister(0, g_chan_nr); } testcase TC_speech_no_rtp_tchf() runs on test_CT { var ConnHdlr vc_conn; |