Neels Hofmeyr has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/10811 )

Change subject: inter-BSC HO incoming: send BSSMAP HO Complete directly
......................................................................

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
---
M src/osmo-bsc/osmo_bsc_bssap.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 03e073a..d6b0b6d 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -1100,7 +1100,7 @@
                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;

-- 
To view, visit https://gerrit.osmocom.org/10811
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic48ae2bb23565015d5e2ccb56308fad09347b51a
Gerrit-Change-Number: 10811
Gerrit-PatchSet: 3
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to