tbf_ul: Fix contention_resolution check for 2phase access

Change-Id: Ia20bcf99f4ece17b33048930ded50e703d7b7461
This commit is contained in:
Pau Espin 2023-03-02 19:13:14 +01:00
parent c25b28c809
commit 42f302a4f9
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ bool gprs_rlcmac_ul_tbf_in_contention_resolution(const struct gprs_rlcmac_ul_tbf
* successful once we get out of GPRS_RLCMAC_TBF_UL_ST_WAIT_ASSIGN
* (when we receive a Pkt Ul Ass, see TS 44.60 7.1.3.3) */
if (ul_tbf->ul_ass_fsm.ass_type == GPRS_RLCMAC_TBF_UL_ASS_TYPE_2PHASE)
return true;
return false;
/* 1phase access: Check if we didn't yet send any data, or whether
* either T3164 or T3166 are active: */
if (ul_tbf->ul_ass_fsm.ass_type == GPRS_RLCMAC_TBF_UL_ASS_TYPE_1PHASE)