path: root/src/libbsc/bsc_vty.c
diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2018-02-12 16:56:41 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-16 16:11:16 +0100
commit6dff51d583bbdd2beb9bbbc27ba65abf1df99a9c (patch)
tree8152cb6f65db3eaf66edf07dc7051783134cead4 /src/libbsc/bsc_vty.c
parentef497b86ba61a30a62aee99f09692a841227b5ad (diff)
HO: add new_lchan_type arg to bsc_handover_start()
Upcoming handover_decision_2 will want to be able to handover to a differing TCH type, hence add a parameter to bsc_handover_start(); adjust current callers to pass the old lchan type. Tweak the 'bts' argument to 'new_bts'. Change-Id: I4478ebcaada00897cc38c5a299e07661139ed3c5
Diffstat (limited to 'src/libbsc/bsc_vty.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index e48275dee..f5f77dd90 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -1399,7 +1399,7 @@ static int trigger_ho_or_as(struct vty *vty, struct gsm_lchan *from_lchan, struc
} else
LOGP(DHO, LOGL_NOTICE, "%s (ARFCN %u) --> BTS %u Manually triggering Handover from VTY\n",
gsm_lchan_name(from_lchan), from_lchan->ts->trx->arfcn, to_bts->nr);
- rc = bsc_handover_start(from_lchan, to_bts);
+ rc = bsc_handover_start(from_lchan, to_bts, from_lchan->type);
if (rc) {
vty_out(vty, "bsc_handover_start() returned %d=%s%s", rc,
strerror(-rc), VTY_NEWLINE);