summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-11-05 09:21:18 +0100
committerHarald Welte <laforge@osmocom.org>2019-12-17 15:02:28 +0100
commit9b9cb25f8e367f907ffb5a167f8642e79a9eaba9 (patch)
tree04480b39bfe8ee31b3b71f4cae2bbc5a397eff89
parent6e054bf66112689306243a1eb6ef6ef45a49c6bd (diff)
ASP FSM: Permit DOWN -> DOWN "transition"
let's avoid messages like DLSS7 <000c> xua_asp_fsm.c:600 XUA_ASP(asp-client0){ASP_DOWN}: transition to state ASP_DOWN not permitted! Change-Id: Iabbcf92e3022a4c3f165ce19be929915f92b455c
-rw-r--r--src/xua_asp_fsm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 9f30559..2fe2c8a 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -705,7 +705,8 @@ static const struct osmo_fsm_state xua_asp_states[] = {
S(XUA_ASP_E_ASPSM_ASPUP_ACK) |
S(XUA_ASP_E_ASPSM_ASPDN) |
S(XUA_ASP_E_SCTP_EST_IND),
- .out_state_mask = S(XUA_ASP_S_INACTIVE),
+ .out_state_mask = S(XUA_ASP_S_INACTIVE) |
+ S(XUA_ASP_S_DOWN),
.name = "ASP_DOWN",
.action = xua_asp_fsm_down,
.onenter = xua_asp_fsm_down_onenter,