aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-08-19 19:20:32 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2011-08-22 19:27:49 +0200
commit1bb18c8e611ef1413221a24ea9aa450d370d8fd2 (patch)
tree55bccd24ae3860f798c30ed735db22527479fb35 /openbsc/src/osmo-bsc
parent67e2f74d01edc3a563d9037d205c44f2afd20eb4 (diff)
osmo-bsc: Use NM_OPSTATE_* to check for operational attributes
Diffstat (limited to 'openbsc/src/osmo-bsc')
-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 6e9e027d9..dc61a045d 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;
}