aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-12 01:40:24 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-12 03:52:12 +0100
commit3747d30f171f52242f9e9f29b48b3766c99b69f3 (patch)
treea155f0bc190243ef91ffc0049c21cada81295e3f
parent6eb3640bf99d11e482444c3b8bcb0a6af7c17f1f (diff)
osmo-bsc: send proper causes for BSSMAP Clear Requestneels/ms_rel_ind
-rw-r--r--src/osmo-bsc/osmo_bsc_api.c4
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 b87711d..0d1078f 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;