summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-08-19 19:20:32 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-08-22 23:46:01 +0200
commita90eb0066a03d814c020088d6ec6f73adea26043 (patch)
tree8320c443963ebeb729dd6d311deb7556999d4be8
parent05ac9e365cae1fe12ced9510641c9c389b1572de (diff)
osmo-bsc: Use NM_OPSTATE_* to check for operational attributes
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_rf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_rf.c b/openbsc/src/osmo-bsc/osmo_bsc_rf.c
index 6288fbf9f..64cab5d3d 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_rf.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_rf.c
@@ -97,7 +97,7 @@ static void handle_query(struct osmo_bsc_rf_conn *conn)
struct gsm_bts_trx *trx;
llist_for_each_entry(trx, &bts->trx_list, list) {
if (trx->mo.nm_state.availability == NM_AVSTATE_OK &&
- trx->mo.nm_state.operational != NM_STATE_LOCKED) {
+ trx->mo.nm_state.operational != NM_OPSTATE_DISABLED) {
send = RF_CMD_ON;
break;
}