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/scheduler.c | |
parent | 11db925f156ddce72cca09275fc2d270efda049b (diff) |
TRX: scheduler: don't access l1h->config from scheduler
Diffstat (limited to 'src/osmo-bts-trx/scheduler.c')
-rw-r--r-- | src/osmo-bts-trx/scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c index 33f4f7f2..d4af2b70 100644 --- a/src/osmo-bts-trx/scheduler.c +++ b/src/osmo-bts-trx/scheduler.c @@ -1660,7 +1660,7 @@ static int trx_sched_fn(uint32_t fn) struct l1sched_trx *l1t = trx_l1sched_hdl(trx); /* we don't schedule, if power is off */ - if (!l1h->config.poweron) + if (!trx_if_powered(l1h)) continue; /* process every TS of TRX */ |