aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-17 06:42:07 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-17 07:31:08 +0200
commit23a0e46f113cc362109970dbe26aba58b4a09f60 (patch)
treea652f4bc0f17570280a1c8f9b65bcf0b28f15f58
parentcb8fd6e99e5aa9a4bc6edadf9334de1397c959c0 (diff)
Add rf_locked to the configuration writing.
-rw-r--r--openbsc/src/vty_interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 5a0ed13a0..729545a95 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -276,6 +276,9 @@ static void config_write_trx_single(struct vty *vty, struct gsm_bts_trx *trx)
int i;
vty_out(vty, " trx %u%s", trx->nr, VTY_NEWLINE);
+ vty_out(vty, " rf_locked %u%s",
+ trx->nm_state.administrative == NM_STATE_LOCKED ? 1 : 0,
+ VTY_NEWLINE);
vty_out(vty, " arfcn %u%s", trx->arfcn, VTY_NEWLINE);
vty_out(vty, " nominal power %u%s", trx->nominal_power, VTY_NEWLINE);
vty_out(vty, " max_power_red %u%s", trx->max_power_red, VTY_NEWLINE);