mux: avoid unneeded call to msg3_flush() in ctor

this causes a debug log line as the first message in every ue.log because
the loggers/loglevels aren't configured yet.

22:10:02.463396 [MAC ] [D] [    0] Msg3 buffer flushed

the msg3_flush isn't needed because all variables are initialized.
master
Andre Puschmann 4 years ago
parent ecf7eaec5c
commit a827350f7c

@ -25,9 +25,7 @@ namespace srsue {
mux::mux(srslte::log_ref log_, srslog::basic_logger& logger) :
pdu_msg(MAX_NOF_SUBHEADERS, log_), log_h(log_), logger(logger)
{
msg3_flush();
}
{}
void mux::init(rlc_interface_mac* rlc_, bsr_interface_mux* bsr_procedure_, phr_proc* phr_procedure_)
{

Loading…
Cancel
Save