diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-06-23 23:15:36 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2016-06-23 23:15:36 +0200 |
commit | c75db6cf95c6c9a262bf686ad1c15234df789cc2 (patch) | |
tree | 931d60a489a08bef187dfde3cafdbc92d31fd020 | |
parent | 93e9bf934cadd7fe80ecf9e15f2b2b34641b691e (diff) |
fix uplink select for WAIT_ASSIGN stateneels/pending2
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp index 0367ad02..4516df7d 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 */ |