aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover
diff options
context:
space:
mode:
Diffstat (limited to 'tests/handover')
-rw-r--r--tests/handover/handover_test.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index adc4d65b..1c0a4da7 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -56,7 +56,6 @@ static void expect_phys_info(struct lapdm_entity *le)
int main(int argc, char **argv)
{
- struct gsm_bts_role_bts *btsb;
void *tall_bts_ctx;
struct e1inp_line *line;
struct gsm_lchan *lchan;
@@ -87,8 +86,6 @@ int main(int argc, char **argv)
exit(1);
}
- btsb = bts_role_bts(bts);
-
libosmo_abis_init(NULL);
line = e1inp_line_create(0, "ipa");
@@ -170,7 +167,7 @@ int main(int argc, char **argv)
OSMO_ASSERT(rslh->c.msg_type == RSL_MT_HANDO_DET);
OSMO_ASSERT(!msgb_dequeue(&trx->rsl_link->tx_list));
- for (i = 0; i < btsb->ny1 - 1; i++) {
+ for (i = 0; i < bts->ny1 - 1; i++) {
/* expect T3105 running */
OSMO_ASSERT(osmo_timer_pending(&trx->ts[2].lchan[0].ho.t3105))