aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-28 19:00:45 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-05-28 19:00:48 +0200
commitf0171a9974a6925bbc31f03698a8b78dc2e2eda9 (patch)
treefce4e9b40fbe8241f01447d23e64715bae7ef219 /src/common/vty.c
parentde2ef31f4c85c307455f6df37bfcc88534d35cc7 (diff)
vty: Fix misleading define name
define contains strings about dB vs mdB, not dB vs dBm. Change-Id: Ib2f1f9429d7d5ead585fb93195a890abd568e65c
Diffstat (limited to 'src/common/vty.c')
-rw-r--r--src/common/vty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index 2cf32246..c2cbeb5f 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -692,7 +692,7 @@ DEFUN(cfg_bts_smscb_qhyst, cfg_bts_smscb_qhyst_cmd,
}
-#define DB_DBM_STR \
+#define DB_MDB_STR \
"Unit is dB (decibels)\n" \
"Unit is mdB (milli-decibels, or rather 1/10000 bel)\n"
@@ -710,7 +710,7 @@ DEFUN(cfg_trx_user_gain,
cfg_trx_user_gain_cmd,
"user-gain <-100000-100000> (dB|mdB)",
"Inform BTS about additional, user-provided gain or attenuation at TRX output\n"
- "Value of user-provided external gain(+)/attenuation(-)\n" DB_DBM_STR)
+ "Value of user-provided external gain(+)/attenuation(-)\n" DB_MDB_STR)
{
struct gsm_bts_trx *trx = vty->index;
@@ -723,7 +723,7 @@ DEFUN(cfg_trx_user_gain,
DEFUN(cfg_trx_pr_max_initial, cfg_trx_pr_max_initial_cmd,
"power-ramp max-initial <0-100000> (dBm|mdBm)",
PR_STR "Maximum initial power\n"
- "Value\n" DB_DBM_STR)
+ "Value\n" DB_MDB_STR)
{
struct gsm_bts_trx *trx = vty->index;
@@ -736,7 +736,7 @@ DEFUN(cfg_trx_pr_max_initial, cfg_trx_pr_max_initial_cmd,
DEFUN(cfg_trx_pr_step_size, cfg_trx_pr_step_size_cmd,
"power-ramp step-size <1-100000> (dB|mdB)",
PR_STR "Power increase by step\n"
- "Step size\n" DB_DBM_STR)
+ "Step size\n" DB_MDB_STR)
{
struct gsm_bts_trx *trx = vty->index;