lib,rlc_um_nr: add log message if tx_sdu_queue has no non-null SDU

This commit is contained in:
Robert Falkenberg 2022-05-09 15:10:54 +02:00 committed by Pedro Alvarez
parent 6a40fd8411
commit 7b77558fd4
1 changed files with 1 additions and 0 deletions

View File

@ -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;