From 2a12e91594ac5e412b160bd434c738dc3c5aad5d Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 1 Dec 2021 12:11:09 +0100 Subject: [PATCH] enb,metrics_stdout: fix printing in SA mode --- srsenb/src/metrics_stdout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/metrics_stdout.cc b/srsenb/src/metrics_stdout.cc index 64557377c..f94c2ffc2 100644 --- a/srsenb/src/metrics_stdout.cc +++ b/srsenb/src/metrics_stdout.cc @@ -179,7 +179,7 @@ void metrics_stdout::set_metrics(const enb_metrics_t& metrics, const uint32_t pe fmt::print("RF status: O={}, U={}, L={}\n", metrics.rf.rf_o, metrics.rf.rf_u, metrics.rf.rf_l); } - if (metrics.stack.rrc.ues.size() == 0) { + if (metrics.stack.rrc.ues.size() == 0 && metrics.nr_stack.mac.ues.size() == 0) { return; }