bts: Log unexpected RSL message

This is useful when doing first look at failed tests in jenkins.

Change-Id: I6cdc53ff038858211b09c0a8eeec19603107ffe4
This commit is contained in:
Pau Espin 2022-10-04 11:20:38 +02:00
parent 5fa8f781c3
commit 7e9193cd1f
1 changed files with 3 additions and 0 deletions

View File

@ -779,6 +779,9 @@ runs on ConnHdlr return RSL_Message {
[not ignore_other] as_meas_res();
[not ignore_other] as_l1_dcch_loop();
[not ignore_other] as_l1_tch_loop();
[not ignore_other] RSL.receive(RSL_Message:?) -> value rx {
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Unexpected RSL message received: ", rx));
}
[not ignore_other] RSL.receive {
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Unexpected RSL message received");
}