diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-04-06 20:22:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-04-06 20:22:43 +0200 |
commit | 02c5e9d1d0b099ecd2e026cbccb3ebc736291bef (patch) | |
tree | 7f55a8454ba42554da044fbfd466c68342867ae6 | |
parent | 3d60dbd0214ad4125bfce8fa869d39be8376c8f1 (diff) |
ipa_keepalive_fsm: Fix OSMO_IPA_KA_E_STOP allstate event
We had the allstate_action function registered, and that function
implemented handling of OSMO_IPA_KA_E_STOP. However, the
allstate_event_mask was not set, rendering this functionality
inaccessible.
Change-Id: I83fd991bdacb7bab794878e47c7797fecf8b9286
-rw-r--r-- | src/input/ipa_keepalive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/ipa_keepalive.c b/src/input/ipa_keepalive.c index 1aae096..6467720 100644 --- a/src/input/ipa_keepalive.c +++ b/src/input/ipa_keepalive.c @@ -189,6 +189,7 @@ static struct osmo_fsm ipa_keepalive_fsm = { .states = ipa_keepalive_states, .num_states = ARRAY_SIZE(ipa_keepalive_states), .log_subsys = DLINP, + .allstate_event_mask = S(OSMO_IPA_KA_E_STOP), .allstate_action = ipa_ka_allstate_action, .event_names = ipa_keepalive_event_names, .timer_cb = ipa_ka_fsm_timer_cb, |