From 23a0e46f113cc362109970dbe26aba58b4a09f60 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 17 Apr 2010 06:42:07 +0200 Subject: Add rf_locked to the configuration writing. --- openbsc/src/vty_interface.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/src') 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); -- cgit v1.2.3