lib,rlc_am_nr: no error on insufficient space for RETX segment.

master
Robert Falkenberg 3 years ago
parent 21a4a675dd
commit cbc8364a94

@ -609,7 +609,10 @@ uint32_t rlc_am_nr_tx::build_retx_pdu_with_segmentation(rlc_amd_retx_nr_t& retx,
// Sanity check: are there enough bytes for header plus data?
if (nof_bytes <= expected_hdr_len) {
RlcError("called %s, but there are not enough bytes for data plus header. SN=%d", __FUNCTION__, retx.sn);
RlcInfo("Not enough bytes for RETX payload plus header. SN=%d, nof_bytes=%d, hdr_len=%d",
retx.sn,
nof_bytes,
expected_hdr_len);
return 0;
}

Loading…
Cancel
Save