Change in ...osmo-bts[master]: bts-trx: vty: Use API to get poweron state

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Sep 27 12:57:16 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/15610


Change subject: bts-trx: vty: Use API to get poweron state
......................................................................

bts-trx: vty: Use API to get poweron state

Change-Id: I8b78e1ad34f19d8fe348b9c975742fc0f7112da2
---
M src/osmo-bts-trx/trx_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/10/15610/1

diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c
index c52908e..250d180 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -71,7 +71,7 @@
 		vty_out(vty, "TRX %d %s%s", trx->nr, sname, VTY_NEWLINE);
 		talloc_free(sname);
 		vty_out(vty, " %s%s",
-			(l1h->config.poweron) ? "poweron":"poweroff",
+			trx_if_powered(l1h) ? "poweron":"poweroff",
 			VTY_NEWLINE);
 		if (l1h->config.arfcn_valid)
 			vty_out(vty, " arfcn  : %d%s%s",

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/15610
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8b78e1ad34f19d8fe348b9c975742fc0f7112da2
Gerrit-Change-Number: 15610
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190927/000d74b3/attachment.htm>


More information about the gerrit-log mailing list