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

master
Robert Falkenberg 3 years ago committed by Pedro Alvarez
parent 6a40fd8411
commit 7b77558fd4

@ -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(); tx_sdu = tx_sdu_queue.read();
} while (tx_sdu == nullptr && tx_sdu_queue.size() != 0); } while (tx_sdu == nullptr && tx_sdu_queue.size() != 0);
if (tx_sdu == nullptr) { if (tx_sdu == nullptr) {
RlcInfo("Cannot build any PDU: tx_sdu_queue has no non-null SDU.");
return 0; return 0;
} }
next_so = 0; next_so = 0;

Loading…
Cancel
Save