summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-11-05 09:21:18 +0100
committerHarald Welte <laforge@osmocom.org>2019-11-05 09:21:18 +0100
commit0a32b547d106f8078f98032f423f7b616c5eeb30 (patch)
treeb60150328c8ac36df131344c11cfe148fd784fed
parentd0c27c1e62b4d1a0214a4e1ffd69ed34fb2d9e1e (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 b3910b2..b704f84 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -634,7 +634,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,