diff --git a/openair2/ENB_APP/enb_config.c b/openair2/ENB_APP/enb_config.c index 9b4f3c7261e8dbda4d5f78a52e7541068e4c6a45..8aa077236229f9b0860858f1e8553b8ecb8fba71 100644 --- a/openair2/ENB_APP/enb_config.c +++ b/openair2/ENB_APP/enb_config.c @@ -3167,7 +3167,7 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) { (check_plmn_identity(carrier, resp->cells_to_activate[j].mcc, resp->cells_to_activate[j].mnc, resp->cells_to_activate[j].mnc_digit_length)>0 && resp->cells_to_activate[j].nrpci == carrier->physCellId)) { // copy system information and decode it - for (si_ind=2; si_ind<resp->cells_to_activate[j].num_SI; si_ind++) { + for (si_ind=2; si_ind<resp->cells_to_activate[j].num_SI + 2; si_ind++) { //printf("SI %d size %d: ", si_ind, resp->SI_container_length[j][si_ind]); //for (int n=0;n<resp->SI_container_length[j][si_ind];n++) // printf("%02x ",resp->SI_container[j][si_ind][n]);