summaryrefslogtreecommitdiffstats
path: root/library/RSL_Emulation.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'library/RSL_Emulation.ttcn')
-rw-r--r--library/RSL_Emulation.ttcn9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 325f22e..3c035e9 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -90,11 +90,11 @@ private function f_rx_or_fail(template RSL_Message exp_rx) runs on RSL_DchanHdlr
}
[] RSL.receive {
setverdict(fail, "Unexpected RSL message on DCHAN");
- self.stop;
+ mtc.stop;
}
[] T.timeout {
setverdict(fail, "Timeout waiting for RSL on DCHAN");
- self.stop;
+ mtc.stop;
}
}
/* never reached */
@@ -361,7 +361,7 @@ function main(boolean bts_role := true) runs on RSL_Emulation_CT {
cid := f_cid_by_ra_fn(ra, fn);
if (cid == -1) {
setverdict(fail, "IMM ASS for unknown DChan");
- self.stop;
+ mtc.stop;
}
/* update client with trx_nr */
ConnectionTable[cid].trx_nr := f_trx_by_streamId(rx_rsl.streamId);
@@ -421,12 +421,13 @@ function main(boolean bts_role := true) runs on RSL_Emulation_CT {
CLIENT_PT.send(rx_rsl.rsl) to ConnectionTable[cid].comp_ref;
} else {
setverdict(fail, "RSL for unknown Dchan");
+ mtc.stop;
}
}
[not dchan_suspended] IPA_PT.receive {
setverdict(fail, "Received unknown primitive from IPA");
- self.stop;
+ mtc.stop;
}
[bts_role] CLIENT_PT.receive(RSLDC_ChanRqd:?) -> value chan_rqd sender vc_conn {