aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_sched.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-19 18:15:44 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit24e98d039d6f2d60a8db36a8cf034a299e2372f9 (patch)
tree8a824df654f4871d502636a235493a6860af66f2 /src/gprs_rlcmac_sched.cpp
parent17b0d83a1f1a153b21b198f101294c8ed9e172ac (diff)
pdch: Move paging dequeue into the PDCH object
Rely on packet_paging_request returning NULL in case the queue is empty. We should move the write_packet_paging_request into a separate file/object as well.
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r--src/gprs_rlcmac_sched.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index c0154fc5..be699e67 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -156,8 +156,7 @@ static struct msgb *sched_select_ctrl_msg(struct gprs_rlcmac_bts *bts,
return msg;
}
/* schedule PACKET PAGING REQUEST */
- if (!llist_empty(&pdch->paging_list))
- msg = gprs_rlcmac_send_packet_paging_request(pdch);
+ msg = pdch->packet_paging_request();
if (msg) {
LOGP(DRLCMACSCHED, LOGL_DEBUG, "Scheduling paging request "
"message at RTS for (TRX=%d, TS=%d)\n", trx, ts);