From 7b77558fd4fd0ff03d85356de3330e97c42a25c1 Mon Sep 17 00:00:00 2001 From: Robert Falkenberg Date: Mon, 9 May 2022 15:10:54 +0200 Subject: [PATCH] lib,rlc_um_nr: add log message if tx_sdu_queue has no non-null SDU --- lib/src/rlc/rlc_um_nr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/rlc/rlc_um_nr.cc b/lib/src/rlc/rlc_um_nr.cc index d0ea8f3bf..743285904 100644 --- a/lib/src/rlc/rlc_um_nr.cc +++ b/lib/src/rlc/rlc_um_nr.cc @@ -150,6 +150,7 @@ uint32_t rlc_um_nr::rlc_um_nr_tx::build_data_pdu(unique_byte_buffer_t pdu, uint8 tx_sdu = tx_sdu_queue.read(); } while (tx_sdu == nullptr && tx_sdu_queue.size() != 0); if (tx_sdu == nullptr) { + RlcInfo("Cannot build any PDU: tx_sdu_queue has no non-null SDU."); return 0; } next_so = 0;