aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/handover_fsm.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-08-29 23:58:33 +0000
committerNeels Hofmeyr <neels@hofmeyr.de>2020-08-30 00:02:09 +0000
commit09ea10d30da54ae01c2fb1968abb2c4733adb21a (patch)
tree912c9db4c02c80e899aca30baa5edcf44863f2f1 /src/osmo-bsc/handover_fsm.c
parent22826ffb6bd2ccb119c168a9cc27747776089741 (diff)
cosmetic: use local var in handover_start_intra_bsc()
Diffstat (limited to 'src/osmo-bsc/handover_fsm.c')
-rw-r--r--src/osmo-bsc/handover_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index 78dbd3308..90fa20bb0 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -365,7 +365,7 @@ static void handover_start_intra_bsc(struct gsm_subscriber_connection *conn)
OSMO_ASSERT(ho->new_lchan_type != GSM_LCHAN_NONE);
OSMO_ASSERT(!ho->new_lchan);
- ho->scope = (ho->new_bts == conn->lchan->ts->trx->bts) ? HO_INTRA_CELL : HO_INTRA_BSC;
+ ho->scope = (ho->new_bts == bts) ? HO_INTRA_CELL : HO_INTRA_BSC;
ho->ho_ref = g_next_ho_ref++;
ho->async = true;