diff --git a/srsenb/src/mac/mac.cc b/srsenb/src/mac/mac.cc index 2488a6aa4..74130efaa 100644 --- a/srsenb/src/mac/mac.cc +++ b/srsenb/src/mac/mac.cc @@ -539,7 +539,7 @@ int mac::get_dl_sched(uint32_t tti, dl_sched_t *dl_sched_res) dl_sched_res->sched_grants[n].data[0] = assemble_si(sched_result.bc[i].index); #ifdef WRITE_SIB_PCAP if (pcap) { - pcap->write_dl_sirnti(dl_sched_res->sched_grants[n].data, sched_result.bc[i].tbs, true, tti); + pcap->write_dl_sirnti(dl_sched_res->sched_grants[n].data[0], sched_result.bc[i].tbs, true, tti); } #endif } else { diff --git a/srsenb/src/mac/scheduler.cc b/srsenb/src/mac/scheduler.cc index 09f006236..9ba288e82 100644 --- a/srsenb/src/mac/scheduler.cc +++ b/srsenb/src/mac/scheduler.cc @@ -434,8 +434,6 @@ void sched::tpc_dec(uint16_t rnti) // Schedules Broadcast messages (SIB) int sched::dl_sched_bc(dl_sched_bc_t bc[MAX_BC_LIST]) { - // TODO: Enable multipe SIBs per SI - int nof_bc_elems = 0; for (int i=0;i