aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/handover_logic.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-05-30 11:31:40 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2013-07-29 12:44:00 +0200
commitc3319c2c31d3c388a443f1096b2d5eba2cfa6ecc (patch)
tree1823ff43d29a59078654465952b444c69cceb300 /openbsc/src/libbsc/handover_logic.c
parentb4b630baf2a4731a0433c6d79462d11591397a2b (diff)
HO: Move handover config from GSMNET to BTS node
This is required for individual BTS configuration.
Diffstat (limited to 'openbsc/src/libbsc/handover_logic.c')
-rw-r--r--openbsc/src/libbsc/handover_logic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c
index c040c13aa..338b8bb81 100644
--- a/openbsc/src/libbsc/handover_logic.c
+++ b/openbsc/src/libbsc/handover_logic.c
@@ -87,7 +87,7 @@ int bsc_ho_count(struct gsm_bts *bts)
llist_for_each_entry(ho, &bsc_handovers, list) {
if (!ho->ho_async)
continue;
- if (ho->new_lchan->bts == bts)
+ if (ho->new_lchan->ts->trx->bts == bts)
count++;
}
@@ -134,7 +134,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts)
}
ho->old_lchan = old_lchan;
ho->new_lchan = new_lchan;
- if (old_lchan->bts != bts) {
+ if (old_lchan->ts->trx->bts != bts) {
ho->ho_ref = ho_ref++;
ho->ho_async = 1;
}