Review at https://gerrit.osmocom.org/3344
litecell15: Register in vty limits for paX_pwr
Otherwise it fails to read the default config file.
Change-Id: I316a8ea73091c7e76a175314b890e4d86e9c3010
---
M src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/44/3344/1
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 @@
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);
--
To view, visit https://gerrit.osmocom.org/3344
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I316a8ea73091c7e76a175314b890e4d86e9c3010
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>