From 3747d30f171f52242f9e9f29b48b3766c99b69f3 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 12 Mar 2018 01:40:24 +0100 Subject: osmo-bsc: send proper causes for BSSMAP Clear Request Change-Id: I04261c41d29af415f7ab298503a917723acf0026 --- src/osmo-bsc/osmo_bsc_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osmo-bsc/osmo_bsc_api.c b/src/osmo-bsc/osmo_bsc_api.c index b87711d27..0d1078fff 100644 --- a/src/osmo-bsc/osmo_bsc_api.c +++ b/src/osmo-bsc/osmo_bsc_api.c @@ -454,9 +454,9 @@ static int bsc_clear_request(struct gsm_subscriber_connection *conn, uint32_t ca return_when_not_connected_val(conn, 1); - LOGP(DMSC, LOGL_INFO, "Tx MSC CLEAR REQUEST\n"); + LOGP(DMSC, LOGL_INFO, "Tx MSC CLEAR REQUEST (cause=%u=0x%x)\n", cause, cause); - resp = gsm0808_create_clear_rqst(GSM0808_CAUSE_RADIO_INTERFACE_FAILURE); + resp = gsm0808_create_clear_rqst(cause); if (!resp) { LOGP(DMSC, LOGL_ERROR, "Failed to allocate response.\n"); return 1; -- cgit v1.2.3