aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-06-23 23:15:36 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-06-23 23:15:36 +0200
commitc75db6cf95c6c9a262bf686ad1c15234df789cc2 (patch)
tree931d60a489a08bef187dfde3cafdbc92d31fd020
parent93e9bf934cadd7fe80ecf9e15f2b2b34641b691e (diff)
fix uplink select for WAIT_ASSIGN stateneels/pending2
-rw-r--r--src/gprs_rlcmac_sched.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index 0367ad0..4516df7 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -97,7 +97,8 @@ static uint8_t sched_select_uplink(uint8_t trx, uint8_t ts, uint32_t fn,
/* we don't need to give resources in FINISHED state,
* because we have received all blocks and only poll
* for packet control ack. */
- if (tbf->state_is_not(GPRS_RLCMAC_FLOW))
+ if (tbf->state_is_not(GPRS_RLCMAC_FLOW)
+ && tbf->state_is_not(GPRS_RLCMAC_WAIT_ASSIGN))
continue;
/* use this USF */