[ENB] Fix builds with #define WRITE_SIB_PCAP

Building with WRITE_SIB_PCAP was broken in April 2019 in commit
7780b1aba5.  Let's make it work again.
This commit is contained in:
Harald Welte 2019-08-04 12:17:53 +02:00 committed by Andre Puschmann
parent 844994f2cd
commit d01dd7fb91
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ int mac::get_dl_sched(uint32_t tti, dl_sched_t *dl_sched_res)
dl_sched_res->pdsch[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[0], sched_result.bc[i].tbs, true, tti);
pcap->write_dl_sirnti(dl_sched_res->pdsch[n].data[0], sched_result.bc[i].tbs, true, tti);
}
#endif
} else {