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

laforge gerrit-no-reply at lists.osmocom.org
Sat Sep 28 21:03:26 UTC 2019


laforge has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190928/16ef2dc5/attachment.htm>


More information about the gerrit-log mailing list