aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2024-03-31 12:38:05 -0600
committerKeith <keith@rhizomatica.org>2024-03-31 12:38:05 -0600
commit65337b739aeb28deefb75c2e27067fa953b2b96f (patch)
treee126e2397ef55374b1e28a1f49daf00d6213ae3e /src/common/vty.c
parent3c09964b110021d4eaa8208a66722867e68f736b (diff)
vty info: MS power levels in dBm are not negativeHEADmaster
Diffstat (limited to 'src/common/vty.c')
-rw-r--r--src/common/vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index 6ec96dae..c0008a85 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1867,10 +1867,10 @@ static void lchan_ms_power_ctrl_state_dump(struct vty *vty, unsigned int indent,
int current_dbm = ms_pwr_dbm(trx->bts->band, st->current);
int max_dbm = ms_pwr_dbm(trx->bts->band, st->max);
- cfg_out(vty, "Current power level: %u, -%d dBm",
+ cfg_out(vty, "Current power level: %u, %d dBm",
st->current, current_dbm);
if (st->dpc_params != NULL)
- vty_out(vty, " (max %u, -%d dBm)", st->max, max_dbm);
+ vty_out(vty, " (max %u, %d dBm)", st->max, max_dbm);
vty_out(vty, "%s", VTY_NEWLINE);
if (st->dpc_params == NULL)