From 6a1355fa39a9e5f2b9d0e0e6a7b8c6f5d7521068 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Fri, 3 Jun 2016 11:22:20 +0200 Subject: [PATCH] enb_dl: fixed reset on data=NULL --- srslte/lib/enb/enb_dl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srslte/lib/enb/enb_dl.c b/srslte/lib/enb/enb_dl.c index 2caf3ec33..eabd0ffa6 100644 --- a/srslte/lib/enb/enb_dl.c +++ b/srslte/lib/enb/enb_dl.c @@ -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); }