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
This commit is contained in:
Neels Hofmeyr 2018-09-06 17:09:58 +02:00
parent 320352f510
commit a15dd1f9bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;