diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-27 13:38:51 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-27 13:38:51 +0200 |
commit | c91997b2cc1b21b8a87116cffb651b8051f6ae79 (patch) | |
tree | 23617514a48877b44f3da568433abcf6c7e9e43b /src/osmo-bts-trx/trx_vty.c | |
parent | 474eeed78d83dad756e5ee0bd4064affeda73d1a (diff) |
bts-trx: vty: Use API to get poweron state
Change-Id: I8b78e1ad34f19d8fe348b9c975742fc0f7112da2
Diffstat (limited to 'src/osmo-bts-trx/trx_vty.c')
-rw-r--r-- | src/osmo-bts-trx/trx_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c index c52908e0..250d1805 100644 --- a/src/osmo-bts-trx/trx_vty.c +++ b/src/osmo-bts-trx/trx_vty.c @@ -71,7 +71,7 @@ DEFUN(show_transceiver, show_transceiver_cmd, "show transceiver", 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", |