From e0620873ef651e0fafb23dde8ad9c8da808c7417 Mon Sep 17 00:00:00 2001 From: Robert Falkenberg Date: Thu, 19 May 2022 13:31:44 +0200 Subject: [PATCH] lib,rlc_am_nr: no error on insufficient space for new or continued segment. --- lib/src/rlc/rlc_am_nr.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/src/rlc/rlc_am_nr.cc b/lib/src/rlc/rlc_am_nr.cc index 3470f4e7d..eb0963f61 100644 --- a/lib/src/rlc/rlc_am_nr.cc +++ b/lib/src/rlc/rlc_am_nr.cc @@ -259,10 +259,10 @@ uint32_t rlc_am_nr_tx::build_new_sdu_segment(rlc_amd_tx_pdu_nr& tx_pdu, uint8_t* // Sanity check: can this SDU be sent considering header overhead? if (nof_bytes <= min_hdr_size) { // Small header as SO is not present - RlcError("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, " - "min_hdr_size=%d", - nof_bytes, - min_hdr_size); + RlcInfo("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, " + "min_hdr_size=%d", + nof_bytes, + min_hdr_size); return 0; } @@ -332,10 +332,10 @@ uint32_t rlc_am_nr_tx::build_continuation_sdu_segment(rlc_amd_tx_pdu_nr& tx_pdu, // Sanity check: can this SDU be sent considering header overhead? if (nof_bytes <= max_hdr_size) { // Larger header size, as SO is present - RlcError("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, " - "max_header_size=%d", - nof_bytes, - max_hdr_size); + RlcInfo("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, " + "max_header_size=%d", + nof_bytes, + max_hdr_size); return 0; }