sch_nr: Fix CRC-related bug

CRC failure was not reported correctly when the TB consists of a single
block.
master
dvdgrgrtt 3 years ago committed by dvdgrgrtt
parent c99ecd8009
commit 1390eeea88

@ -693,6 +693,7 @@ static int sch_nr_decode(srsran_sch_nr_t* q,
// Not all CB are decoded, skip TB union and CRC check
if (cb_ok != cfg.C) {
res->crc = false;
return SRSRAN_SUCCESS;
}

Loading…
Cancel
Save