summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fsm.c b/src/fsm.c
index 67db1825..31ed1948 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -326,6 +326,7 @@ int osmo_fsm_inst_state_chg(struct osmo_fsm_inst *fi, uint32_t new_state,
LOGPFSM(fi, "state_chg to %s\n", osmo_fsm_state_name(fsm, new_state));
fi->state = new_state;
+ st = &fsm->states[new_state];
if (timeout_secs) {
fi->T = T;