diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-11-07 18:20:55 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-11-08 15:16:03 +0000 |
commit | b6140e4b4313c1a8f48b9c3867d127432f7f7faa (patch) | |
tree | 9ee1ce68ddad0aa6ccb5d40f8e0d76b8c0449e56 | |
parent | b92589a1a2731911ea551e4ba729794145806419 (diff) |
xua: Don't send NOTIFY messages to IPA ASPs
Change-Id: Ice3d948e4d2f57a8f52cfb93792d5f4d23284b96
-rw-r--r-- | src/xua_as_fsm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xua_as_fsm.c b/src/xua_as_fsm.c index c25902e..394061b 100644 --- a/src/xua_as_fsm.c +++ b/src/xua_as_fsm.c @@ -233,8 +233,10 @@ static void notify_any_other_active_asp_as_inactive(struct osmo_ss7_as *as, stru if (asp_cmp == asp) continue; - msg = encode_notify(&npar); - osmo_ss7_asp_send(asp, msg); + if (asp->cfg.proto != OSMO_SS7_ASP_PROT_IPA) { + msg = encode_notify(&npar); + osmo_ss7_asp_send(asp, msg); + } osmo_fsm_inst_state_chg(asp->fi, XUA_ASP_S_INACTIVE, 0, 0); } |