Fixes coverity 369581

This commit is contained in:
AlaiaL 2021-04-23 14:50:34 +02:00 committed by Andre Puschmann
parent 58ce75d3b4
commit 6332490cae
1 changed files with 2 additions and 1 deletions

View File

@ -274,12 +274,13 @@ int srsran_npdcch_decode_msg(srsran_npdcch_t* q,
} else {
DEBUG("Skipping DCI: nCCE=%d, L=%d, msg_len=%d, mean=%f", location->ncce, location->L, nof_bits, mean);
}
q->num_decoded_symbols = num_decoded_symbols;
ret = SRSRAN_SUCCESS;
} else {
fprintf(stderr, "Invalid parameters, location=%d,%d\n", location->ncce, location->L);
}
q->num_decoded_symbols = num_decoded_symbols;
return ret;
}