diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-05-14 12:50:46 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-05-19 12:50:25 +0200 |
commit | dc2aaac29fb5070e4a80d81ad1222d639b084f5c (patch) | |
tree | c7e20ae9868f615c13d87d3626a1a509cfa2dac0 /src/gprs_ms.h | |
parent | 38f80be73b59f5b1d63abef2002a9c3d1b05e01e (diff) |
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
Diffstat (limited to 'src/gprs_ms.h')
-rw-r--r-- | src/gprs_ms.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |