Harald Welte has submitted this change and it was merged.

Change subject: M3UA: Handle opportunistic ASPIA in INACTIVE state
......................................................................


M3UA: Handle opportunistic ASPIA in INACTIVE state

This was discovered (and fix validated) using m3ua-sgp-asptm-o-003
of Michale Tuexen's m3ua-testtool.

Change-Id: If231072655170fe52dae738882dd63b1d0a60cf9
---
M src/xua_asp_fsm.c
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 2e80506..9c4a8ca 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -460,6 +460,11 @@
                 * is taken. */
                peer_send(fi, XUA_ASP_E_ASPSM_ASPUP_ACK, NULL);
                break;
+       case XUA_ASP_E_ASPTM_ASPIA:
+               /* only in role SG */
+               ENSURE_SG_OR_IPSP(fi, event);
+               peer_send(fi, XUA_ASP_E_ASPTM_ASPIA_ACK, NULL);
+               break;
        }
 }
 
@@ -592,6 +597,7 @@
                                 S(XUA_ASP_E_M_ASP_DOWN_REQ) |
                                 S(XUA_ASP_E_ASPTM_ASPAC) |
                                 S(XUA_ASP_E_ASPTM_ASPAC_ACK) |
+                                S(XUA_ASP_E_ASPTM_ASPIA) |
                                 S(XUA_ASP_E_ASPSM_ASPDN) |
                                 S(XUA_ASP_E_ASPSM_ASPDN_ACK) |
                                 S(XUA_ASP_E_ASPSM_ASPUP),

-- 
To view, visit https://gerrit.osmocom.org/2273
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If231072655170fe52dae738882dd63b1d0a60cf9
Gerrit-PatchSet: 7
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to