ath9k: make rfkill configurable
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / hw.c
index 4ca0cb06010609ca490bfe4404883bde2ac85d66..e420c6ba62a74dafa2634d2885a10e9a62080a80 100644 (file)
@@ -2504,7 +2504,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
        else
                pCap->rts_aggr_limit = (8 * 1024);
 
-#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
+#ifdef CONFIG_ATH9K_RFKILL
        ah->rfsilent = ah->eep_ops->get_eeprom(ah, EEP_RF_SILENT);
        if (ah->rfsilent & EEP_RFSILENT_ENABLED) {
                ah->rfkill_gpio =
This page took 0.044703 seconds and 5 git commands to generate.