rlc_tm: remove warning when PDU can't be read

MAC will call read_pdu() until RLC doesn't have any more data to send.
don't log a warning in this case.
master
Andre Puschmann 3 years ago
parent 8ddc344cdb
commit f959c8c14a

@ -175,7 +175,6 @@ uint32_t rlc_tm::read_pdu(uint8_t* payload, uint32_t nof_bytes)
metrics.num_tx_pdu_bytes += pdu_size;
return pdu_size;
} else {
logger.warning("Queue empty while trying to read");
if (ul_queue.size_bytes() > 0) {
logger.warning("Corrupted queue: empty but size_bytes > 0. Resetting queue");
ul_queue.reset();

Loading…
Cancel
Save