aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo_msc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 13:16:52 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 13:16:52 +0800
commitf6fb3efcba25a4c9b984152c46605fb313e3c523 (patch)
tree5bc14e7611c3473390ea559168c51843d54e27a6 /openbsc/src/osmo_msc.c
parentecd99338261a102c2513fc57808157f9de65b633 (diff)
bsc_api: Switch gsm_04_08.c to use the clear request of the API.
Diffstat (limited to 'openbsc/src/osmo_msc.c')
-rw-r--r--openbsc/src/osmo_msc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/osmo_msc.c b/openbsc/src/osmo_msc.c
index b5bb37152..b647a811f 100644
--- a/openbsc/src/osmo_msc.c
+++ b/openbsc/src/osmo_msc.c
@@ -35,8 +35,14 @@ static void msc_sapi_n_reject(struct gsm_subscriber_connection* conn, int dlci)
gsm411_sapi_n_reject(conn);
}
+static void msc_clear_request(struct gsm_subscriber_connection* conn, uint32_t cause)
+{
+ gsm0408_clear_request(conn, cause);
+}
+
static struct bsc_api msc_handler = {
.sapi_n_reject = msc_sapi_n_reject,
+ .clear_request = msc_clear_request,
};
struct bsc_api *msc_bsc_api() {