aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-17 00:57:01 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-12-20 14:49:48 -0500
commit55821324dc6a10fab36871534a322bad159fad79 (patch)
treed598e6d8280007c0d39f47c3f4f947c5eb945ae0 /drivers/net/wireless/ath/ath9k/hw.h
parent4b3ba66a47311770b21e7aba481f4f2a90ba3084 (diff)
downloadkernel_samsung_smdk4412-55821324dc6a10fab36871534a322bad159fad79.zip
kernel_samsung_smdk4412-55821324dc6a10fab36871534a322bad159fad79.tar.gz
kernel_samsung_smdk4412-55821324dc6a10fab36871534a322bad159fad79.tar.bz2
ath9k_hw: remove baseband rfsilent support
When rfkill is enabled, ath9k_hw unnecessarily configured the baseband to turn off based on GPIO input, however that code was hardcoded to GPIO 0 instead of ah->rfkill_gpio. Since ath9k uses software rfkill anyway, this code is completely unnecessary and should be removed in case anything else ever uses GPIO 0. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 21e37d1..b98053f 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -576,7 +576,6 @@ struct ath_hw_private_ops {
void (*set_delta_slope)(struct ath_hw *ah, struct ath9k_channel *chan);
bool (*rfbus_req)(struct ath_hw *ah);
void (*rfbus_done)(struct ath_hw *ah);
- void (*enable_rfkill)(struct ath_hw *ah);
void (*restore_chainmask)(struct ath_hw *ah);
void (*set_diversity)(struct ath_hw *ah, bool value);
u32 (*compute_pll_control)(struct ath_hw *ah,