aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_sched.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r--src/gprs_rlcmac_sched.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index fe6f1595..032e0063 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -172,6 +172,12 @@ static struct msgb *sched_select_ctrl_msg(
if (!tbf)
continue;
+ /* HACK: send PACKET ACCESS REJECT if needed */
+ if ((msg = tbf->sched_pkt_acc_req) != NULL) {
+ tbf->sched_pkt_acc_req = NULL;
+ return msg;
+ }
+
/*
* Assignments for the same direction have lower precedence,
* because they may kill the TBF when the CONTROL ACK is