aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
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 06:42:48 +0200
commit2ba40afc36c1abfa4b0777fb5dc4eb6ac8179d3a (patch)
treed5d1414ee7c47d96bf26e4aedef01f2d5524e82c /openbsc/src
parente0ec32686792bd962f4efb6122be8769b1b832b9 (diff)
Add rf_locked to the configuration writing.
Diffstat (limited to 'openbsc/src')
-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 bcf4a87ff..2f8c1b3e0 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -266,6 +266,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);