[PATCH] osmo-bsc[master]: HO: always do async handover

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Feb 15 13:05:16 UTC 2018


Review at  https://gerrit.osmocom.org/6465

HO: always do async handover

We're really only interested in async handover so far.
Set ho->async to true always.

Change-Id: I48715864d4b953987c86d93fe1b3a5456f0c4e0f
---
M src/libbsc/handover_logic.c
1 file changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/65/6465/1

diff --git a/src/libbsc/handover_logic.c b/src/libbsc/handover_logic.c
index cf7684b..e7579fc 100644
--- a/src/libbsc/handover_logic.c
+++ b/src/libbsc/handover_logic.c
@@ -144,10 +144,8 @@
 	ho->old_lchan = old_lchan;
 	ho->new_lchan = new_lchan;
 	ho->ho_ref = ho_ref++;
-	if (!do_assignment) {
-		ho->inter_cell = true;
-		ho->async = true;
-	}
+	ho->inter_cell = !do_assignment;
+	ho->async = true;
 
 	/* copy some parameters from old lchan */
 	memcpy(&new_lchan->encr, &old_lchan->encr, sizeof(new_lchan->encr));

-- 
To view, visit https://gerrit.osmocom.org/6465
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I48715864d4b953987c86d93fe1b3a5456f0c4e0f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list