diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-07-28 18:02:05 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-07-28 18:28:07 +0200 |
commit | 888b11462a2331eab7e9e7b49d92254314f7ee7e (patch) | |
tree | 03620e55ccf66230c712bdbdeb71a3e7f0dc3c92 | |
parent | 8830e07efb693dc441a08f66df85862488e02473 (diff) |
send a [new] signal in case of IPAC_DISCONNECT_INDication
-rw-r--r-- | openbsc/include/openbsc/signal.h | 1 | ||||
-rw-r--r-- | openbsc/src/abis_rsl.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index b41182d67..2ce812d10 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -48,6 +48,7 @@ enum signal_paging { /* SS_ABISIP signals */ enum signal_abisip { S_ABISIP_BIND_ACK, + S_ABISIP_DISC_IND, }; /* SS_NM signals */ diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index a494ad302..f26e4c912 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -1345,6 +1345,8 @@ static int abis_rsl_rx_ipacc_disc_ind(struct msgb *msg) print_rsl_cause(TLVP_VAL(&tv, RSL_IE_CAUSE), TLVP_LEN(&tv, RSL_IE_CAUSE)); + dispatch_signal(SS_ABISIP, S_ABISIP_DISC_IND, msg->lchan); + return 0; } |