bts: Log more details in case SI sampling returned insufficient results

Change-Id: I2b853dfff0800cd87e49a3360019ff7198aeafb2
This commit is contained in:
Harald Welte 2020-10-11 21:28:00 +02:00 committed by laforge
parent c87d81f916
commit a616ec9260
1 changed files with 2 additions and 1 deletions

View File

@ -3674,7 +3674,8 @@ private function f_si_vecslot_contains_n_of_m(SystemInformationVector arr,
return boolean {
var integer count := 0;
if (sizeof(arr) < m) {
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Error: Insufficient SI in array");
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Error: Insufficient SI in array: "
& int2str(sizeof(arr)) & " < " & int2str(m));
}
for (var integer i:= 0; i < m; i := i + 1) {
var integer fn_mod51 := arr[i].frame_number mod 51;