mirror of https://github.com/PentHertz/srsLTE.git
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:
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…
Reference in New Issue