mirror of https://github.com/PentHertz/srsLTE.git
enb_dl: fixed reset on data=NULL
This commit is contained in:
parent
e59ec9aac4
commit
6a1355fa39
|
@ -280,7 +280,7 @@ int srslte_enb_dl_put_pdsch(srslte_enb_dl_t *q, srslte_ra_dl_grant_t *grant,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset softwbuffer if this is the first transmission
|
// Reset softwbuffer if this is the first transmission
|
||||||
if (data == NULL) {
|
if (data != NULL) {
|
||||||
srslte_softbuffer_tx_reset_cb(&q->softbuffer[rnti_idx], q->pdsch_cfg.cb_segm.C);
|
srslte_softbuffer_tx_reset_cb(&q->softbuffer[rnti_idx], q->pdsch_cfg.cb_segm.C);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue