From 04b5d655752d7afeb94018765ae08b1d7b0f91c5 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 1 Sep 2013 12:04:49 +0200 Subject: Move gsmtap VTY commands from osmo-bts-sysmo to common part --- src/osmo-bts-sysmo/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/osmo-bts-sysmo/main.c') diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 1150310c..3b95bd6e 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -308,8 +308,9 @@ int main(int argc, char **argv) bts_log_init(NULL); + bts = gsm_bts_alloc(tall_bts_ctx); vty_init(&bts_vty_info); - bts_vty_init(&bts_log_info); + bts_vty_init(bts, &bts_log_info); handle_options(argc, argv); @@ -325,7 +326,6 @@ int main(int argc, char **argv) } } - bts = gsm_bts_alloc(tall_bts_ctx); if (bts_init(bts) < 0) { fprintf(stderr, "unable to open bts\n"); exit(1); -- cgit v1.2.3