diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-06-26 16:56:18 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-06-26 16:56:51 +0200 |
commit | fc3bcee00fab502d7ecfa78b8078f83d12557cc4 (patch) | |
tree | 98ad123e673e1cf83bc9b9edc6876fde7941bf50 /src/osmo-bsc | |
parent | ad5b8ce326499f6c7006be95716a4550f53fbb65 (diff) |
bsc_subscr_conn_fsm: Use gscon_bssmap_clear() helper on send failure
Change-Id: I45b42b76c260a5bac416ad3a5761918a8ab59f86
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r-- | src/osmo-bsc/bsc_subscr_conn_fsm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c index 7b9f912b2..0830deece 100644 --- a/src/osmo-bsc/bsc_subscr_conn_fsm.c +++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c @@ -984,7 +984,6 @@ static void gsm0808_send_rsl_dtap(struct gsm_subscriber_connection *conn, { uint8_t sapi; int rc; - struct msgb *resp = NULL; if (!conn->lchan) { LOGP(DMSC, LOGL_ERROR, @@ -1027,8 +1026,7 @@ static void gsm0808_send_rsl_dtap(struct gsm_subscriber_connection *conn, failed_to_send: LOGPFSML(conn->fi, LOGL_ERROR, "Tx BSSMAP CLEAR REQUEST to MSC\n"); - resp = gsm0808_create_clear_rqst(GSM0808_CAUSE_EQUIPMENT_FAILURE); - gscon_sigtran_send(conn, resp); + gscon_bssmap_clear(conn, GSM0808_CAUSE_EQUIPMENT_FAILURE); osmo_fsm_inst_state_chg(conn->fi, ST_ACTIVE, 0, 0); } |