summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-07-07 04:02:25 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-07-07 04:05:50 +0700
commita29277278bffd6988d2715a1878dbb04a5243a1d (patch)
tree607b54837554cbf6dab79c81b8a4ca63ee2e1584
parent3fea4de64e7b950a7a403f86cff26b9a6cde50f9 (diff)
trxcon/scheduler: subst_frame_loss(): print current TDMA fn
-rw-r--r--src/host/trxcon/sched_trx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c
index b6087efe..79e6f88b 100644
--- a/src/host/trxcon/sched_trx.c
+++ b/src/host/trxcon/sched_trx.c
@@ -638,8 +638,8 @@ static int subst_frame_loss(struct trx_lchan_state *lchan,
elapsed = GSM_TDMA_FN_SUB(fn, lchan->tdma.last_proc);
if (elapsed > mf->period) {
LOGP(DSCHD, LOGL_NOTICE, "Too many (>%u) contiguous TDMA frames elapsed (%u) "
- "since the last processed fn=%u\n", mf->period,
- elapsed, lchan->tdma.last_proc);
+ "since the last processed fn=%u (current %u)\n",
+ mf->period, elapsed, lchan->tdma.last_proc, fn);
} else if (elapsed == 0) {
LOGP(DSCHD, LOGL_ERROR, "No TDMA frames elapsed since the last processed "
"fn=%u, must be a bug?\n", lchan->tdma.last_proc);