aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-02-14 13:51:36 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-16 16:11:16 +0100
commit3fb5dcfee32700a9d5cdcff4494f82a70a5c8419 (patch)
treea47c993491691ee6a1c9be9d824b1fdb88dbdde1
parent4e3db634da715daf0c275cee11a97bad3136e724 (diff)
HO: always do async handover
We're really only interested in async handover so far. Set ho->async to true always. Change-Id: I48715864d4b953987c86d93fe1b3a5456f0c4e0f
-rw-r--r--src/libbsc/handover_logic.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libbsc/handover_logic.c b/src/libbsc/handover_logic.c
index fad4a3381..2b61c9378 100644
--- a/src/libbsc/handover_logic.c
+++ b/src/libbsc/handover_logic.c
@@ -138,10 +138,8 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *new_bts,
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));