From bd59b27ae36fcfb73c9e82bf21e0531852779ea5 Mon Sep 17 00:00:00 2001 From: Alexander Chemeris Date: Sat, 9 May 2020 22:22:51 +0300 Subject: [PATCH] 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 --- src/osmo-bsc/lchan_fsm.c | 1 + 1 file changed, 1 insertion(+) 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) ,