From 42f302a4f9e74333ae352ac9cd204d40e6075946 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 2 Mar 2023 19:13:14 +0100 Subject: [PATCH] tbf_ul: Fix contention_resolution check for 2phase access Change-Id: Ia20bcf99f4ece17b33048930ded50e703d7b7461 --- src/rlcmac/tbf_ul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlcmac/tbf_ul.c b/src/rlcmac/tbf_ul.c index 6d76155..7642832 100644 --- a/src/rlcmac/tbf_ul.c +++ b/src/rlcmac/tbf_ul.c @@ -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)