mirror of https://github.com/PentHertz/srsLTE.git
[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:
parent
844994f2cd
commit
d01dd7fb91
|
@ -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);
|
dl_sched_res->pdsch[n].data[0] = assemble_si(sched_result.bc[i].index);
|
||||||
#ifdef WRITE_SIB_PCAP
|
#ifdef WRITE_SIB_PCAP
|
||||||
if (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
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue