Commit cb9d5117 authored by Luis Pereira's avatar Luis Pereira

Revert "Add logs for debug segmentation fault (to be reverted)"

This reverts commit a9527371e709834be7b27c03033b8d855caa7505
parent 136a8c92
...@@ -3166,15 +3166,12 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) { ...@@ -3166,15 +3166,12 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
if (RC.rrc[i]->nr_cellid == resp->cells_to_activate[j].nr_cellid && if (RC.rrc[i]->nr_cellid == resp->cells_to_activate[j].nr_cellid &&
(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 && (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)) { resp->cells_to_activate[j].nrpci == carrier->physCellId)) {
LOG_I(ENB_APP, "Copy system information and decode it for %i number of SI\n", resp->cells_to_activate[j].num_SI);
// copy system information and decode it // copy system information and decode it
for (si_ind=2; si_ind<resp->cells_to_activate[j].num_SI + 2; 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->cells_to_activate[j].SI_container_length[si_ind]); //printf("SI %d size %d: ", si_ind, resp->SI_container_length[j][si_ind]);
for (int n=0;n<resp->cells_to_activate[j].SI_container_length[si_ind];n++) //for (int n=0;n<resp->SI_container_length[j][si_ind];n++)
printf("%02x ",resp->cells_to_activate[j].SI_container[si_ind][n]); // printf("%02x ",resp->SI_container[j][si_ind][n]);
printf("\n"); //printf("\n");
if (si_ind==6) si_ind=9; if (si_ind==6) si_ind=9;
if (resp->cells_to_activate[j].SI_container[si_ind] != NULL) { if (resp->cells_to_activate[j].SI_container[si_ind] != NULL) {
extract_and_decode_SI(i, extract_and_decode_SI(i,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment