From 9a30b7781310b81555b216d32b172b6bb9c9d7e4 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 24 Aug 2017 15:54:48 +0200 Subject: osmo-bts-trx: fix 'osmotrx legacy-setbsic' It was introduced in fe6c75d24a1751341bcee91cb45c7ac7f5d07da3: * fix typo in config write * add missing vty help string Change-Id: Id42359dfbb8ad02f34dd2540db66f3ed69ad5181 --- src/osmo-bts-trx/trx_vty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c index 482248c5..36d75c1d 100644 --- a/src/osmo-bts-trx/trx_vty.c +++ b/src/osmo-bts-trx/trx_vty.c @@ -458,7 +458,7 @@ DEFUN(cfg_phy_base_port, cfg_phy_base_port_cmd, } DEFUN(cfg_phy_setbsic, cfg_phy_setbsic_cmd, - "osmotrx legacy-setbsic", + "osmotrx legacy-setbsic", OSMOTRX_STR "Use SETBSIC to configure transceiver (use ONLY with OpenBTS Transceiver!)\n") { struct phy_link *plink = vty->index; @@ -473,7 +473,7 @@ DEFUN(cfg_phy_setbsic, cfg_phy_setbsic_cmd, DEFUN(cfg_phy_no_setbsic, cfg_phy_no_setbsic_cmd, "no osmotrx legacy-setbsic", - NO_STR "Disable Legacy SETBSIC to configure transceiver\n") + NO_STR OSMOTRX_STR "Disable Legacy SETBSIC to configure transceiver\n") { struct phy_link *plink = vty->index; plink->u.osmotrx.use_legacy_setbsic = false; @@ -503,7 +503,7 @@ void bts_model_config_write_phy(struct vty *vty, struct phy_link *plink) plink->u.osmotrx.rts_advance, VTY_NEWLINE); if (plink->u.osmotrx.use_legacy_setbsic) - vty_out(vty, " osmotrx leyacy-setbsic%s", VTY_NEWLINE); + vty_out(vty, " osmotrx legacy-setbsic%s", VTY_NEWLINE); } void bts_model_config_write_phy_inst(struct vty *vty, struct phy_instance *pinst) -- cgit v1.2.3