diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-17 00:59:07 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-04-17 00:59:07 +0200 |
commit | 19e30eb1dbf720e43bdeceb18bb9c28af1f9acba (patch) | |
tree | 8df1b1b9b08afe216d8f13b483c282a79cc13b7c /src/xua_asp_fsm.c | |
parent | c36be1c06a3d15fddc167fbc9717d5163fdafc1d (diff) |
xua_asp_fsm: Fix ordering of messages to pass M3UA_SGP_ASPSM_O_003
I don't think the order of messages is that important (and specified in
the RFC), but let's do this to make the m3ua-testtool case happy.
Change-Id: I2e150e941a6fcfd203944f5b20bd07c07193f44a
Diffstat (limited to 'src/xua_asp_fsm.c')
-rw-r--r-- | src/xua_asp_fsm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c index ce15038..a0f93bd 100644 --- a/src/xua_asp_fsm.c +++ b/src/xua_asp_fsm.c @@ -546,10 +546,11 @@ static void xua_asp_fsm_active(struct osmo_fsm_inst *fi, uint32_t event, void *d * an Error message ("Unexpected Message), and the * remote ASP state is changed to ASP-INACTIVE in all * relevant Application Servers */ + peer_send_error(fi, M3UA_ERR_UNEXPECTED_MSG); osmo_fsm_inst_state_chg(fi, XUA_ASP_S_INACTIVE, 0, 0); + peer_send(fi, XUA_ASP_E_ASPSM_ASPUP_ACK, NULL); send_xlm_prim_simple(fi, OSMO_XLM_PRIM_M_ASP_INACTIVE, PRIM_OP_INDICATION); - peer_send_error(fi, M3UA_ERR_UNEXPECTED_MSG); break; case XUA_ASP_E_ASPTM_ASPAC: /* only in role SG */ |