aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-08-13 17:42:50 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-08-20 15:15:42 +0200
commit89d7834e83b5e5880bf9e9922cf16a4280f2dc4a (patch)
treed67a283cc67102d4b28acedf8bf3e5d11657c16a
parent7ca12cd47aeba6f81848bf56dc5813f8efc8dd3e (diff)
iu_client: emit RANAP_IU_EVENT_LINK_INVALIDATED on SCCP disconnect indication
-rw-r--r--src/iu_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iu_client.c b/src/iu_client.c
index 42bb102..a0c0b8e 100644
--- a/src/iu_client.c
+++ b/src/iu_client.c
@@ -813,6 +813,8 @@ static int sccp_sap_up(struct osmo_prim_hdr *oph, void *_scu)
rc = 0;
if (msgb_l2len(oph->msg))
rc = ranap_cn_rx_co(cn_ranap_handle_co, ue, msgb_l2(oph->msg), msgb_l2len(oph->msg));
+
+ global_iu_event_cb(ue, RANAP_IU_EVENT_LINK_INVALIDATED, NULL);
break;
case OSMO_PRIM(OSMO_SCU_PRIM_N_DATA, PRIM_OP_INDICATION):
/* connection-oriented data received */