From bb836488ef14d94d104f6a89d71916b3f05eb363 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 26 Jun 2019 15:51:09 +0200 Subject: [PATCH] mux: do not print priority info if the LC config is only updated --- srsue/src/stack/mac/mux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/stack/mac/mux.cc b/srsue/src/stack/mac/mux.cc index eb7762b23..8375b8740 100644 --- a/srsue/src/stack/mac/mux.cc +++ b/srsue/src/stack/mac/mux.cc @@ -107,7 +107,7 @@ void mux::setup_lcid(const logical_channel_config_t& config) } // warn user if there is another LCID with same prio for (auto& channel : logical_channels) { - if (channel.priority == config.priority) { + if (channel.priority == config.priority && channel.lcid != config.lcid) { log_h->warning("LCID %d and %d have same priority.\n", channel.lcid, config.lcid); } }