Skip to content

Commit 465c3d9

Browse files
proc_sr: remove info log when starting SR proc
this was a very noisy log that was printed in pretty much every TTI because the BSR procedure starts a SR whenever it needs to send a regular BSR. The SR is canceled when a UL grant arrives but the log line stays there. Since we are printing a log when we actually signal a SR to the PHY, this line is not needed.
1 parent 1e3ad5b commit 465c3d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

srsue/src/stack/mac/proc_sr.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ void sr_proc::set_config(srslte::sr_cfg_t& cfg)
7474
Error("Zero is an invalid value for dsr-TransMax (n4, n8, n16, n32, n64 are supported). Disabling SR.\n");
7575
return;
7676
}
77+
if (cfg.enabled) {
78+
Info("SR: Set dsr_transmax=%d\n", sr_cfg.dsr_transmax);
79+
}
7780
sr_cfg = cfg;
7881
}
7982

@@ -115,9 +118,6 @@ void sr_proc::start()
115118
sr_counter = 0;
116119
is_pending_sr = true;
117120
}
118-
if (sr_cfg.enabled) {
119-
Info("SR: Starting Procedure. dsrTransMax=%d\n", sr_cfg.dsr_transmax);
120-
}
121121
}
122122
}
123123

0 commit comments

Comments
 (0)