aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2020-05-09 22:22:51 +0300
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2020-05-09 22:22:51 +0300
commitbd59b27ae36fcfb73c9e82bf21e0531852779ea5 (patch)
tree0be405807239574376761d066a4a95e16f25fc53
parentdb668ce4d4178893a673bb24cf61587deb3b21b7 (diff)
lchan: Allow transition from BORKEN state to WAIT_RF_RELEASE_ACK
In the lchan_fsm_borken() we request to change the state to LCHAN_ST_WAIT_RF_RELEASE_ACK in response to a late LCHAN_EV_RSL_CHAN_ACTIV_ACK event but this transition is prohibited by the FSM definition, so the channels stay in the BORKEN state forever. :( Change-Id: I17a9b935a116eb842fd0239ef53d73bef35e6511
-rw-r--r--src/osmo-bsc/lchan_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index f55fbf97c..fc8cd3fd8 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -1268,6 +1268,7 @@ static const struct osmo_fsm_state lchan_fsm_states[] = {
| S(LCHAN_EV_RTP_RELEASED)
,
.out_state_mask = 0
+ | S(LCHAN_ST_WAIT_RF_RELEASE_ACK)
| S(LCHAN_ST_UNUSED)
| S(LCHAN_ST_WAIT_AFTER_ERROR)
,