tbf: Fix wrong variable printed in log
Change-Id: Iad99e48fcb7488daed40a5095c5dcdc02def00c5
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 15d3fa1..70b3b12 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -588,7 +588,7 @@
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;