diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-05-12 08:38:00 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-05-12 08:49:35 +0200 |
commit | 7fe0838588f1a2bb4df7c078e00f8b7b67a9abed (patch) | |
tree | 93a71c2063327eb89b861bac2071a038df080f2f /src/osmo-bts-sysmo/sysmobts_vty.c | |
parent | 3af5426d7188e810d7ee2aacb2d7af22e1054665 (diff) |
sysmobts: Save the clock-source to the config file
Make the clock names lower case to match with the vty command.
Diffstat (limited to 'src/osmo-bts-sysmo/sysmobts_vty.c')
-rw-r--r-- | src/osmo-bts-sysmo/sysmobts_vty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c index fe035a40..4efe81a3 100644 --- a/src/osmo-bts-sysmo/sysmobts_vty.c +++ b/src/osmo-bts-sysmo/sysmobts_vty.c @@ -1,6 +1,7 @@ /* VTY interface for sysmoBTS */ /* (C) 2011 by Harald Welte <laforge@gnumonks.org> + * (C) 2012 by Holger Hans Peter Freyther * * All Rights Reserved * @@ -395,6 +396,9 @@ void bts_model_config_write_trx(struct vty *vty, struct gsm_bts_trx *trx) vty_out(vty, " clock-calibration %u%s", fl1h->clk_cal, VTY_NEWLINE); } + vty_out(vty, " clock-source %s%s", + get_value_string(femtobts_clksrc_names, fl1h->clk_src), + VTY_NEWLINE); } int bts_model_vty_init(struct gsm_bts *bts) |