BSC LCLS: explicitly check for RSL_IE_CHAN_NR
Check that channel number IE is present in the received message. This fixes following warning: The value returned by function `@RSL_Types.f_rsl_find_ie' is not used Change-Id: Icc6824d7acef809d76c70b5ff060a8261a82e2be Related: OS#3659
This commit is contained in:
parent
41a3aab820
commit
fc337ca0b1
|
@ -605,8 +605,11 @@ testcase TC_lcls_connect_clear() runs on lcls_test_CT {
|
||||||
[] CONN_A.receive(tr_RSL_DEACT_SACCH(?));
|
[] CONN_A.receive(tr_RSL_DEACT_SACCH(?));
|
||||||
[] CONN_A.receive(tr_RSL_RF_CHAN_REL(?)) -> value rsl {
|
[] CONN_A.receive(tr_RSL_RF_CHAN_REL(?)) -> value rsl {
|
||||||
var RSL_IE_Body ieb;
|
var RSL_IE_Body ieb;
|
||||||
f_rsl_find_ie(rsl, RSL_IE_CHAN_NR, ieb);
|
if (f_rsl_find_ie(rsl, RSL_IE_CHAN_NR, ieb) == true) {
|
||||||
CONN_A.send(ts_RSL_RF_CHAN_REL_ACK(ieb.chan_nr));
|
CONN_A.send(ts_RSL_RF_CHAN_REL_ACK(ieb.chan_nr));
|
||||||
|
} else {
|
||||||
|
log("Unable to find chan# in RSL_RF_CHAN_REL")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
[] CONN_A.receive(tr_BSSMAP_ClearComplete) {
|
[] CONN_A.receive(tr_BSSMAP_ClearComplete) {
|
||||||
CONN_A.send(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_REQ);
|
CONN_A.send(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_REQ);
|
||||||
|
|
Loading…
Reference in New Issue