enb_dl: fixed reset on data=NULL

This commit is contained in:
Ismael Gomez 2016-06-03 11:22:20 +02:00
parent e59ec9aac4
commit 6a1355fa39
1 changed files with 1 additions and 1 deletions

View File

@ -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
if (data == NULL) {
if (data != NULL) {
srslte_softbuffer_tx_reset_cb(&q->softbuffer[rnti_idx], q->pdsch_cfg.cb_segm.C);
}