From 1ea776f8c3927b91f93f61d2b5e60edae45aefc9 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Tue, 20 Dec 2016 13:28:53 +0100 Subject: [PATCH] return valid crc on turbo decoder zero words --- srslte/lib/phch/sch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srslte/lib/phch/sch.c b/srslte/lib/phch/sch.c index c144f1265..ad77035b8 100644 --- a/srslte/lib/phch/sch.c +++ b/srslte/lib/phch/sch.c @@ -466,7 +466,7 @@ static int decode_tb(srslte_sch_t *q, INFO("Warning: Received all-zero transport block\n\n", 0); } - if (par_rx == par_tx && par_rx) { + if (par_rx == par_tx) { INFO("TB decoded OK\n",i); return SRSLTE_SUCCESS; } else {