pcu/GPRS_Components: return GsmRrMessage from f_pcuif_rx_imm_ass()
Change-Id: Ide6a00348b81a637309644be82a523c99f9fd30a
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index ca37431..ff5da82 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -1635,7 +1635,6 @@
runs on RAW_PCU_Test_CT {
var template ReqRefWaitInd tr_ref;
var GsmRrMessage rr_msg;
- var boolean ok;
/* Send RACH.ind with malformed EGPRS Packet Channel Request */
BTS.send(ts_PCUIF_RACH_IND(bts_nr := 0, trx_nr := 0, ts_nr := 0,
@@ -1644,11 +1643,7 @@
arfcn := 871));
/* Abuse f_pcuif_rx_imm_ass(): wait for Immediate Assignment Reject */
- ok := f_pcuif_rx_imm_ass(rr_msg, t_imm_ass := tr_IMM_ASS_REJ);
- if (not ok) {
- setverdict(fail, "Failed to match Immediate Assignment Reject");
- f_shutdown(__BFILE__, __LINE__);
- }
+ rr_msg := f_pcuif_rx_imm_ass(t_imm_ass := tr_IMM_ASS_REJ);
/* Just to have a short-name reference to the actual message */
var ImmediateAssignmentReject iar := rr_msg.payload.imm_ass_rej;