neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18845 )


Change subject: RAN_Emulation: drop unused function f_bssap_wait_for_reset()
......................................................................

RAN_Emulation: drop unused function f_bssap_wait_for_reset()

Change-Id: I9ecf4fdeaee8e5437427564ef860c9053ffa4241
---
M library/RAN_Emulation.ttcnpp
1 file changed, 0 insertions(+), 22 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/45/18845/1

diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp
index 5450706..a400dcd 100644
--- a/library/RAN_Emulation.ttcnpp
+++ b/library/RAN_Emulation.ttcnpp
@@ -518,28 +518,6 @@
        return g_ran_ops.unitdata_cb.apply(bssap);
 }

-private function f_bssap_wait_for_reset() runs on RAN_Emulation_CT {
-       var BSSAP_N_UNITDATA_ind ud_ind;
-       timer T := 20.0;
-       var boolean append_osmux_support := append_osmux_ie();
-
-       T.start;
-       alt {
-       [] BSSAP.receive(tr_BSSAP_UNITDATA_ind(?, ?, 
tr_BSSMAP_Reset(append_osmux_support))) -> value ud_ind {
-               BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, 
ud_ind.calledAddress,
-                          ts_BSSMAP_ResetAck(append_osmux_support)));
-               }
-       [] as_reset_ack(append_osmux_support);
-       [] BSSAP.receive {
-               repeat;
-               }
-       [] T.timeout {
-               setverdict(fail, "Timeout waiting for BSSAP RESET");
-               mtc.stop;
-               }
-       }
-}
-
 function f_bssap_reset(SCCP_PAR_Address peer, SCCP_PAR_Address own) runs on 
RAN_Emulation_CT {
        timer T := 5.0;
        var boolean append_osmux_support := append_osmux_ie();

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18845
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9ecf4fdeaee8e5437427564ef860c9053ffa4241
Gerrit-Change-Number: 18845
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-MessageType: newchange

Reply via email to