From a15dd1f9bd3854d99613150f898ff4b475bb7b6e Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 6 Sep 2018 17:09:58 +0200 Subject: inter-BSC HO incoming: send BSSMAP HO Complete directly Before Handover is fully completed, the gscon remains in an INIT state. To send back the BSSMAP Handover Complete message, use osmo_bsc_sigtran_send() directly to not thwart the message due to the gscon state. (The gscon state will change to ACTIVE right after that, once the handover FSM is done.) Change-Id: Ic48ae2bb23565015d5e2ccb56308fad09347b51a --- src/osmo-bsc/osmo_bsc_bssap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c index 03e073ae7..d6b0b6daa 100644 --- a/src/osmo-bsc/osmo_bsc_bssap.c +++ b/src/osmo-bsc/osmo_bsc_bssap.c @@ -1100,7 +1100,7 @@ enum handover_result bsc_tx_bssmap_ho_complete(struct gsm_subscriber_connection return HO_RESULT_ERROR; } - rc = gscon_sigtran_send(conn, msg); + rc = osmo_bsc_sigtran_send(conn, msg); if (rc) { LOG_HO(conn, LOGL_ERROR, "Cannot send BSSMAP Handover Complete message\n"); return HO_RESULT_ERROR; -- cgit v1.2.3