enb_dl: fixed reset on data=NULL

master
Ismael Gomez 9 years ago
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…
Cancel
Save