aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 70b3b127..87ca5bd8 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -562,7 +562,7 @@ int gprs_rlcmac_tbf::check_polling(uint32_t fn, uint8_t ts,
LOGPTBF(this, LOGL_DEBUG, "Polling is already scheduled\n");
return -EBUSY;
}
- if (bts_sba(bts)->find(trx->trx_no, ts, new_poll_fn)) {
+ if (!pdch_ulc_fn_is_free(trx->pdch[ts].ulc, new_poll_fn)) {
LOGPTBF(this, LOGL_DEBUG, "Polling is already scheduled "
"for single block allocation at FN %d TS %d ...\n",
new_poll_fn, ts);