aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-08-24 15:54:48 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-24 19:06:48 +0000
commit9a30b7781310b81555b216d32b172b6bb9c9d7e4 (patch)
tree083bf7a13de16c3d50f59d0ce61e5fa0ccbd6356
parent01e84be54f38c0458f3ee04111243ca0777baadc (diff)
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
-rw-r--r--src/osmo-bts-trx/trx_vty.c6
1 files changed, 3 insertions, 3 deletions
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)