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 <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged