diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-12 01:40:24 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-12 03:52:12 +0100 |
commit | 3747d30f171f52242f9e9f29b48b3766c99b69f3 (patch) | |
tree | a155f0bc190243ef91ffc0049c21cada81295e3f | |
parent | 6eb3640bf99d11e482444c3b8bcb0a6af7c17f1f (diff) |
osmo-bsc: send proper causes for BSSMAP Clear Requestneels/ms_rel_ind
Change-Id: I04261c41d29af415f7ab298503a917723acf0026
-rw-r--r-- | src/osmo-bsc/osmo_bsc_api.c | 4 |
1 files 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; |