aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-07-24 14:53:05 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-07-25 17:17:25 +0000
commit8edfe03595134b83569ade3821e40198209b521c (patch)
treef60dec252704fee1eaa97e9aa7f751cda3bddf37 /src/osmo-bts-litecell15
parentcbb64cffa58e71747fd198d56b0370c51afeab5c (diff)
litecell15: Register in vty limits for paX_pwr
Otherwise it fails to read the default config file. Change-Id: I316a8ea73091c7e76a175314b890e4d86e9c3010
Diffstat (limited to 'src/osmo-bts-litecell15')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
index 8120165..a6a925c 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
@@ -1040,10 +1040,12 @@ int lc15bts_mgr_vty_init(void)
install_node(&limit_pa0_pwr_node, config_write_dummy);
install_element(MGR_NODE, &cfg_limit_pa0_pwr_cmd);
+ register_limit(LIMIT_PA0_PWR_NODE, MGR_LIMIT_TYPE_PWR);
vty_install_default(LIMIT_PA0_PWR_NODE);
install_node(&limit_pa1_pwr_node, config_write_dummy);
install_element(MGR_NODE, &cfg_limit_pa1_pwr_cmd);
+ register_limit(LIMIT_PA1_PWR_NODE, MGR_LIMIT_TYPE_PWR);
vty_install_default(LIMIT_PA1_PWR_NODE);
install_node(&limit_gps_fix_node, config_write_dummy);