bsc_api: Switch gsm_04_08.c to use the clear request of the API.
diff --git a/openbsc/src/osmo_msc.c b/openbsc/src/osmo_msc.c
index b5bb371..b647a81 100644
--- a/openbsc/src/osmo_msc.c
+++ b/openbsc/src/osmo_msc.c
@@ -35,8 +35,14 @@
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() {