From a89fecf08c20dfd1b8d5e3514a55e0f4a793eb57 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 21 Apr 2019 15:37:39 +0200 Subject: f_perform_lu(): Use f_expect_clear(), reduce code duplication Change-Id: I64b183ad6615f2b0b9565a711de87fe4249625a1 --- msc/BSC_ConnectionHandler.ttcn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'msc') diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn index b3345ffd..db0e6833 100644 --- a/msc/BSC_ConnectionHandler.ttcn +++ b/msc/BSC_ConnectionHandler.ttcn @@ -384,9 +384,7 @@ runs on BSC_ConnHdlr { f_expect_mm_info(); /* FIXME: there could be pending SMS or other common procedures by the MSC, let's ignore them */ - BSSAP.receive(tr_BSSMAP_ClearCommand); - BSSAP.send(ts_BSSMAP_ClearComplete); - BSSAP.receive(RAN_Conn_Prim:MSC_CONN_PRIM_DISC_IND); + f_expect_clear(); setverdict(pass); } -- cgit v1.2.3