Fix for the lcls FSM

This commit is contained in:
Keith Whyte 2022-10-15 01:40:41 +01:00
parent 9a415c7fef
commit dcd0303263
1 changed files with 4 additions and 0 deletions

View File

@ -522,6 +522,8 @@ static void lcls_no_longer_ls_fn(struct osmo_fsm_inst *fi, uint32_t event, void
if (lcls_enable_possible(conn)) {
osmo_fsm_inst_state_chg(fi, ST_LOCALLY_SWITCHED, 0, 0);
osmo_fsm_inst_dispatch(conn->lcls.other->lcls.fi, LCLS_EV_OTHER_ENABLED, conn);
} else {
osmo_fsm_inst_state_chg(fi, ST_NOT_YET_LS, 0, 0);
}
break;
case LCLS_EV_OTHER_ENABLED:
@ -546,6 +548,8 @@ static void lcls_no_longer_ls_fn(struct osmo_fsm_inst *fi, uint32_t event, void
/* Send LCLS-NOTIFY to inform MSC */
lcls_send_notify(conn);
break;
case LCLS_EV_APPLY_CFG_CSC:
break;
default:
OSMO_ASSERT(0);
break;