pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/33261 )
Change subject: tbf_{ul,dl}_fsm: remove impossible dst state transitions ......................................................................
tbf_{ul,dl}_fsm: remove impossible dst state transitions
There's no code path triggering change to those states.
Change-Id: I05b3019e12ec37e11ac2561a94b2eacec8718755 --- M src/tbf_dl_fsm.c M src/tbf_ul_fsm.c 2 files changed, 14 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/61/33261/1
diff --git a/src/tbf_dl_fsm.c b/src/tbf_dl_fsm.c index 2a48635..9c46076 100644 --- a/src/tbf_dl_fsm.c +++ b/src/tbf_dl_fsm.c @@ -374,8 +374,7 @@ X(TBF_EV_ASSIGN_ADD_CCCH) | X(TBF_EV_ASSIGN_ADD_PACCH), .out_state_mask = - X(TBF_ST_ASSIGN) | - X(TBF_ST_RELEASING), + X(TBF_ST_ASSIGN), .name = "NEW", .action = st_new, }, diff --git a/src/tbf_ul_fsm.c b/src/tbf_ul_fsm.c index 11ed8ab..13dc9fb 100644 --- a/src/tbf_ul_fsm.c +++ b/src/tbf_ul_fsm.c @@ -312,8 +312,7 @@ X(TBF_EV_ASSIGN_ADD_PACCH), .out_state_mask = X(TBF_ST_ASSIGN) | - X(TBF_ST_FLOW) | - X(TBF_ST_RELEASING), + X(TBF_ST_FLOW), .name = "NEW", .action = st_new, }, @@ -325,8 +324,7 @@ X(TBF_EV_MAX_N3105), .out_state_mask = X(TBF_ST_FLOW) | - X(TBF_ST_FINISHED) | - X(TBF_ST_RELEASING), + X(TBF_ST_FINISHED), .name = "ASSIGN", .action = st_assign, .onenter = st_assign_on_enter,