[PATCH] osmo-bts[master]: litecell15: Register in vty limits for paX_pwr

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Jul 24 13:19:45 UTC 2017


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 <pespin at sysmocom.de>



More information about the gerrit-log mailing list