From ba807f1ef3894c4e1e7aed00b41d3f00daa9ffdf Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Tue, 2 Jan 2018 13:21:11 +0100 Subject: [PATCH] DLSCH error when CRC=0x0 --- lib/src/phy/phch/sch.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/src/phy/phch/sch.c b/lib/src/phy/phch/sch.c index 7c1f64dff..b782725eb 100644 --- a/lib/src/phy/phch/sch.c +++ b/lib/src/phy/phch/sch.c @@ -493,11 +493,7 @@ static int decode_tb(srslte_sch_t *q, ((uint32_t) data[cb_segm->tbs/8+1])<<8 | ((uint32_t) data[cb_segm->tbs/8+2]); - if (!par_rx) { - INFO("Warning: Received all-zero transport block\n\n",0); - } - - if (par_rx == par_tx) { + if (par_rx == par_tx && par_rx) { INFO("TB decoded OK\n",0); return SRSLTE_SUCCESS; } else {