Minor cleanup

This commit is contained in:
Ismael Gomez 2018-07-11 15:42:51 +02:00
parent 75e8df2e9f
commit 9690125882
2 changed files with 1 additions and 3 deletions

View File

@ -210,7 +210,7 @@ void rlc_um::write_sdu_nb(byte_buffer_t *sdu)
}
if (sdu) {
if (tx_sdu_queue.try_write(sdu)) {
log->info_hex(sdu->msg, sdu->N_bytes, "%s Tx SDU (%d B,tx_sdu_queue_len=%d)", rrc->get_rb_name(lcid).c_str(), sdu->N_bytes);
log->info_hex(sdu->msg, sdu->N_bytes, "%s Tx SDU (%d B,tx_sdu_queue_len=%d)", rrc->get_rb_name(lcid).c_str(), sdu->N_bytes, tx_sdu_queue.size());
} else {
log->debug_hex(sdu->msg, sdu->N_bytes, "[Dropped SDU] %s Tx SDU (%d B,tx_sdu_queue_len=%d)", rrc->get_rb_name(lcid).c_str(), sdu->N_bytes, tx_sdu_queue.size());
pool->deallocate(sdu);

View File

@ -26,8 +26,6 @@
#include <unistd.h>
#include <algorithm>
#include <srsue/hdr/phy/phch_recv.h>
#include <srslte/srslte.h>
#include "srslte/srslte.h"
#include "srslte/common/log.h"
#include "srsue/hdr/phy/phch_worker.h"