aboutsummaryrefslogtreecommitdiffstats
path: root/src/poll_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/poll_controller.cpp')
-rw-r--r--src/poll_controller.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/poll_controller.cpp b/src/poll_controller.cpp
index 0f46472f..dea75edf 100644
--- a/src/poll_controller.cpp
+++ b/src/poll_controller.cpp
@@ -33,10 +33,11 @@ void PollController::expireTimedout(int frame_number)
struct gprs_rlcmac_bts *bts = m_bts.bts_data();
struct gprs_rlcmac_tbf *tbf;
struct gprs_rlcmac_sba *sba, *sba2;
+ struct llist_pods *lpods;
uint32_t elapsed;
/* check for poll timeout */
- llist_for_each_entry(tbf, &bts->ul_tbfs, list) {
+ llist_pods_for_each_entry(tbf, &bts->ul_tbfs, list, lpods) {
if (tbf->poll_state == GPRS_RLCMAC_POLL_SCHED) {
elapsed = (frame_number + 2715648 - tbf->poll_fn)
% 2715648;
@@ -44,7 +45,7 @@ void PollController::expireTimedout(int frame_number)
tbf->poll_timeout();
}
}
- llist_for_each_entry(tbf, &bts->dl_tbfs, list) {
+ llist_pods_for_each_entry(tbf, &bts->dl_tbfs, list, lpods) {
if (tbf->poll_state == GPRS_RLCMAC_POLL_SCHED) {
elapsed = (frame_number + 2715648 - tbf->poll_fn)
% 2715648;