osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/30269 )
Change subject: lchan_fsm: fix lchan_fsm_on_error size ......................................................................
lchan_fsm: fix lchan_fsm_on_error size
Set it to 32, because osmo_fsm allows 32 states.
Change-Id: I62f5e0f380513c52ea6932b270cf0c852930eb9f --- M src/osmo-bsc/lchan_fsm.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c index 2931f8f..21b38d2 100644 --- a/src/osmo-bsc/lchan_fsm.c +++ b/src/osmo-bsc/lchan_fsm.c @@ -324,7 +324,7 @@ } while (0)
/* Which state to transition to when lchan_fail() is called in a given state. */ -uint32_t lchan_fsm_on_error[34] = { +uint32_t lchan_fsm_on_error[32] = { [LCHAN_ST_UNUSED] = LCHAN_ST_UNUSED, [LCHAN_ST_WAIT_TS_READY] = LCHAN_ST_UNUSED, [LCHAN_ST_WAIT_ACTIV_ACK] = LCHAN_ST_BORKEN,