aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-08-31 16:50:32 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-08-31 16:50:35 +0200
commit25d60cafc49f258ac13bebc9deda7996d81e6856 (patch)
tree422910b7a94956af2448cb93c4e78e97e45db146
parent0f88bcdebf84365f375f7f4ae178c4e20d5e1981 (diff)
sched: Lower log level of RTS on disabled pdch
These messages are expected under some circumstances, such as when direct phy is used and a chan is disabled (eg. dyn TS). This happens because PCU asks for chan de-activation through PCUIF while at the same time marking the PDCH locally as disabled. Hence, in the time the BTS manages to disable it on the lower layers, the phy still sends us RTS indications. Let's keep it under NOTICE to avoid clogging the logs in production setups which are usually using global level of NOTICE or ERROR. Related: OS#5222 Change-Id: Iab9e1590b504bf05dc693e27550b30db0dffcbc7
-rw-r--r--src/gprs_rlcmac_sched.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index b0a6b397..08f43cd4 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -421,7 +421,7 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts,
pdch = &bts->trx[trx].pdch[ts];
if (!pdch->is_enabled()) {
- LOGPDCH(pdch, DRLCMACSCHED, LOGL_ERROR, "Received RTS on disabled TS\n");
+ LOGPDCH(pdch, DRLCMACSCHED, LOGL_INFO, "Received RTS on disabled TS\n");
return -EIO;
}