From c4c6ba4b0717c44315f81a0246e8c4e78e4f4a1d Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 26 Oct 2020 10:48:49 +0100 Subject: nm_channel_fsm: Fix innocuous transition not permitted log error Event NM_EV_OML_DOWN in allstate will transition to Disabled NotInstalled state. In the case where that is the current state, there's really no change but we didn't allow the transition. Let's allow it since it doesn't hurt and get rid of error messages when a BTS disconnects. Fixes: OS#4831 Change-Id: Ia5b7c88ff89e68ec5086d24f6ee20a8b3b2d994d --- src/osmo-bsc/nm_channel_fsm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/osmo-bsc') diff --git a/src/osmo-bsc/nm_channel_fsm.c b/src/osmo-bsc/nm_channel_fsm.c index 1d798a6e0..676c471e6 100644 --- a/src/osmo-bsc/nm_channel_fsm.c +++ b/src/osmo-bsc/nm_channel_fsm.c @@ -296,6 +296,7 @@ static struct osmo_fsm_state nm_chan_fsm_states[] = { X(NM_EV_SW_ACT_REP) | X(NM_EV_STATE_CHG_REP), .out_state_mask = + X(NM_CHAN_ST_OP_DISABLED_NOTINSTALLED) | X(NM_CHAN_ST_OP_DISABLED_DEPENDENCY) | X(NM_CHAN_ST_OP_DISABLED_OFFLINE) | X(NM_CHAN_ST_OP_ENABLED), -- cgit v1.2.3