From dc2aaac29fb5070e4a80d81ad1222d639b084f5c Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 14 May 2021 12:50:46 +0200 Subject: tbf: Move existing tbf_state implementation to osmo_fsm This is only an initial implementation, where all state changes are still done outside the FSM itself. The idea is to do the move in several commits so that they can be digested better in logical steps and avoid major break up. Related: OS#2709 Change-Id: I6bb4baea2dee191ba5bbcbec2ea9dcf681aa1237 --- src/gprs_ms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gprs_ms.h') diff --git a/src/gprs_ms.h b/src/gprs_ms.h index 6674261a..4438a4c9 100644 --- a/src/gprs_ms.h +++ b/src/gprs_ms.h @@ -159,7 +159,7 @@ static inline struct gprs_llc_queue *ms_llc_queue(struct GprsMs *ms) static inline bool ms_need_dl_tbf(struct GprsMs *ms) { if (ms_dl_tbf(ms) != NULL && - tbf_state((const struct gprs_rlcmac_tbf *)ms_dl_tbf(ms)) != GPRS_RLCMAC_WAIT_RELEASE) + tbf_state((const struct gprs_rlcmac_tbf *)ms_dl_tbf(ms)) != TBF_ST_WAIT_RELEASE) return false; return llc_queue_size(ms_llc_queue(ms)) > 0; -- cgit v1.2.3