diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-25 16:02:29 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-25 16:06:56 +0200 |
commit | 04585dd90a1439e256d54affe4ccea113455cbe7 (patch) | |
tree | bbc7a4bc1f0bc7722b90046f1a12d724dbf6e7c6 | |
parent | 645cba8532298773949c93543f73b8d7a18c789b (diff) |
tx: Generate a working configuration file on "write"
We do not have the vty test script to do roundtrip testing. There
is no max-initinal-pout, then there was a typo inside 'initial' and
for the relative step size the unit is dB/mdB. Fix both of that.
-rw-r--r-- | src/common/vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/vty.c b/src/common/vty.c index a2f2fb37..6b57b0b6 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -192,9 +192,9 @@ static void config_write_bts_single(struct vty *vty, struct gsm_bts *bts) if (trx->power_params.user_gain_mdB) vty_out(vty, " user-gain %u mdB%s", tpp->user_gain_mdB, VTY_NEWLINE); - vty_out(vty, " power-ramp max-initinal-pout %d mdBm%s", + vty_out(vty, " power-ramp max-initial %d mdBm%s", tpp->ramp.max_initial_pout_mdBm, VTY_NEWLINE); - vty_out(vty, " power-ramp step-size %d mdBm%s", + vty_out(vty, " power-ramp step-size %d mdB%s", tpp->ramp.step_size_mdB, VTY_NEWLINE); vty_out(vty, " power-ramp step-interval %d%s", tpp->ramp.step_interval_sec, VTY_NEWLINE); |