aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-09 17:05:21 +0100
committerlaforge <laforge@osmocom.org>2021-03-12 07:40:11 +0000
commit4f2c8cd96ae3b834cf8449e98ee51ce74d71b07f (patch)
treeaca54415820ab39591ab4a4b9fd3ad001e44fe33 /src
parentdf58ddf6d8b3e7cd206d7984483e49fa07d7646f (diff)
tbf: Fix wrong variable printed in log
Diffstat (limited to 'src')
-rw-r--r--src/tbf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 15d3fa15..70b3b127 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -588,7 +588,7 @@ void gprs_rlcmac_tbf::set_polling(uint32_t new_poll_fn, uint8_t ts, enum gprs_rl
if ((state_flags & (1 << (GPRS_RLCMAC_FLAG_PACCH))) && (state_flags & (1 << (GPRS_RLCMAC_FLAG_CCCH))))
LOGPTBFDL(this, LOGL_ERROR,
"Attempt to schedule polling on %s (FN=%d, TS=%d) with both CCCH and PACCH flags set - FIXME!\n",
- chan, poll_fn, poll_ts);
+ chan, new_poll_fn, ts);
/* schedule polling */
poll_state = GPRS_RLCMAC_POLL_SCHED;