ath9k: replaces SC_OP_BTCOEX_ENABLED with a bool
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / btcoex.c
index 61a8e1d95bb9c1ab3b9959923a5dcecf8869ff69..91befc78a15b66d06f59284d244fe4ab12219d2b 100644 (file)
@@ -164,7 +164,7 @@ void ath9k_hw_btcoex_enable(struct ath_hw *ah)
                (0x2 << (btcoex_info->btactive_gpio * 2)),
                (0x3 << (btcoex_info->btactive_gpio * 2)));
 
-       ah->ah_sc->sc_flags |= SC_OP_BTCOEX_ENABLED;
+       ah->btcoex_info.enabled = true;
 }
 
 void ath9k_hw_btcoex_disable(struct ath_hw *ah)
@@ -182,5 +182,5 @@ void ath9k_hw_btcoex_disable(struct ath_hw *ah)
                REG_WRITE(ah, AR_BT_COEX_MODE2, 0);
        }
 
-       ah->ah_sc->sc_flags &= ~SC_OP_BTCOEX_ENABLED;
+       ah->btcoex_info.enabled = false;
 }