aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 13:33:26 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 13:33:26 +0200
commitfecf321a250681b6bd9a755e86b7e0a3a32df1a8 (patch)
tree20e3187b64b2a3abf4cee8f2c26df6d899c6df31
parentc286a110544a92be6c16a8bb730d660d53953805 (diff)
vty: Fix wrongs params passed in vty warning message
-rw-r--r--src/osmo-bsc/bts_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/bts_vty.c b/src/osmo-bsc/bts_vty.c
index 2b7b42b55..445eea402 100644
--- a/src/osmo-bsc/bts_vty.c
+++ b/src/osmo-bsc/bts_vty.c
@@ -3086,7 +3086,7 @@ DEFUN_USRATTR(cfg_power_ctrl_rxlev_thresh_comp,
if (upper_cmp_p > upper_cmp_n) {
vty_out(vty, "%% Upper RxLev P2 %d must be less than N2 %d%s",
- lower_cmp_p, lower_cmp_n, VTY_NEWLINE);
+ upper_cmp_p, upper_cmp_n, VTY_NEWLINE);
return CMD_WARNING;
}
@@ -3121,7 +3121,7 @@ DEFUN_USRATTR(cfg_power_ctrl_rxqual_thresh_comp,
if (upper_cmp_p > upper_cmp_n) {
vty_out(vty, "%% Upper RxQual P4 %d must be less than N4 %d%s",
- lower_cmp_p, lower_cmp_n, VTY_NEWLINE);
+ upper_cmp_p, upper_cmp_n, VTY_NEWLINE);
return CMD_WARNING;
}