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
Thu Apr 11 00:26:07 UTC 2019


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, approved
  Pau Espin Pedrol: Looks good to me, approved



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: merged
Gerrit-Change-Id: I83fd991bdacb7bab794878e47c7797fecf8b9286
Gerrit-Change-Number: 13540
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190411/20aa4961/attachment.html>


More information about the gerrit-log mailing list