diff options
Diffstat (limited to 'src/host/layer23/src/modem/app_modem.c')
-rw-r--r-- | src/host/layer23/src/modem/app_modem.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/host/layer23/src/modem/app_modem.c b/src/host/layer23/src/modem/app_modem.c index 61266f51..a1bb27ab 100644 --- a/src/host/layer23/src/modem/app_modem.c +++ b/src/host/layer23/src/modem/app_modem.c @@ -41,6 +41,7 @@ #include <osmocom/bb/common/l1ctl.h> #include <osmocom/bb/common/l23_app.h> #include <osmocom/bb/common/sysinfo.h> +#include <osmocom/bb/modem/vty.h> #include <l1ctl_proto.h> @@ -490,12 +491,6 @@ static int l23_cfg_supported(void) return L23_OPT_ARFCN | L23_OPT_TAP | L23_OPT_VTY | L23_OPT_DBG; } -static int l23_vty_init(void) -{ - /* TODO: add sample specific vty nodes/cmds */ - return 0; -} - static struct vty_app_info _modem_vty_info = { .name = "modem", .version = PACKAGE_VERSION, @@ -505,7 +500,7 @@ static struct l23_app_info info = { .copyright = "Copyright (C) 2022 by sysmocom - s.m.f.c. GmbH <info@sysmocom.de>\n", .cfg_supported = &l23_cfg_supported, .vty_info = &_modem_vty_info, - .vty_init = l23_vty_init, + .vty_init = modem_vty_init, }; struct l23_app_info *l23_app_info(void) |