diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-01-09 23:03:34 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-02-15 14:17:55 +0100 |
commit | b6b42d150db5ef707ad17b0005d7de8f0f538390 (patch) | |
tree | 8f27ad966fe899a94ffaf6222f426111eb2f349c /src/osmo-bts-trx/trx_if.c | |
parent | 11db925f156ddce72cca09275fc2d270efda049b (diff) |
TRX: scheduler: don't access l1h->config from scheduler
Diffstat (limited to 'src/osmo-bts-trx/trx_if.c')
-rw-r--r-- | src/osmo-bts-trx/trx_if.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c index fef2064b..16c9fc70 100644 --- a/src/osmo-bts-trx/trx_if.c +++ b/src/osmo-bts-trx/trx_if.c @@ -558,3 +558,7 @@ void trx_if_close(struct trx_l1h *l1h) trx_udp_close(&l1h->trx_ofd_data); } +int trx_if_powered(struct trx_l1h *l1h) +{ + return l1h->config.poweron; +} |