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.
This commit is contained in:
Andre Puschmann 2021-11-23 18:08:26 +01:00
parent 8ddc344cdb
commit f959c8c14a
1 changed files with 0 additions and 1 deletions

View File

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