Change in libosmo-abis[master]: ipa_keepalive_fsm: Fix OSMO_IPA_KA_E_STOP allstate event

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Apr 6 18:23:42 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13540


Change subject: ipa_keepalive_fsm: Fix OSMO_IPA_KA_E_STOP allstate event
......................................................................

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
---
M src/input/ipa_keepalive.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/40/13540/1

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 @@
 	.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,

-- 
To view, visit https://gerrit.osmocom.org/13540
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83fd991bdacb7bab794878e47c7797fecf8b9286
Gerrit-Change-Number: 13540
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190406/fe98d81b/attachment.html>


More information about the gerrit-log mailing list