inter-BSC HO: send failure msg directly

If inter-BSC HO failed, the conn is by definition not in an active state, and
hence it makes no sense to verify the gscon FSM state before sending. Directly
call osmo_bsc_sigtran_send().

Change-Id: Ic49c94462041800674fa961c4d19c0c045bfe0c0
This commit is contained in:
Neels Hofmeyr 2018-08-28 01:01:35 +02:00
parent 721c762e3b
commit 128600c561
1 changed files with 1 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ void bsc_tx_bssmap_ho_failure(struct gsm_subscriber_connection *conn)
return;
}
rc = gscon_sigtran_send(conn, msg);
rc = osmo_bsc_sigtran_send(conn, msg);
if (rc)
LOG_HO(conn, LOGL_ERROR, "Cannot send BSSMAP Handover Failure message (rc=%d %s)\n",
rc, strerror(-rc));