Review at  https://gerrit.osmocom.org/5109

TBF: log timer override

Currently TBF support only single Txxxx timer so scheduling another
timer will cancel out the one which already running. Until the proper
fix is in place, let's at least log this situation as error.

Change-Id: I462464a1e6df937b72cad65d19cd48e95dc4db45
Related: OS#2407
---
M src/tbf.cpp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/09/5109/1

diff --git a/src/tbf.cpp b/src/tbf.cpp
index 8e54157..a8ad0f8 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -535,7 +535,7 @@
                LOGP(DRLCMAC, LOGL_DEBUG, "%s starting timer %u.\n",
                        tbf_name(tbf), T);
        else
-               LOGP(DRLCMAC, LOGL_DEBUG, "%s restarting timer %u "
+               LOGP(DRLCMAC, LOGL_ERROR, "%s restarting timer %u "
                        "while old timer %u pending \n",
                        tbf_name(tbf), T, tbf->T);
 

-- 
To view, visit https://gerrit.osmocom.org/5109
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I462464a1e6df937b72cad65d19cd48e95dc4db45
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <[email protected]>

Reply via email to