summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-07-03 20:55:38 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-07-22 16:54:26 -0400
commit74e13060f11dbf4028b810e34c359f64929415f3 (patch)
treea0e21e817b667174b48a9c3788a7e9d3aa6079ad /drivers/net/wireless/ath/ath9k/Kconfig
parent3266d73237a7441a30d64a97327738e70f1b5254 (diff)
downloadblackbird-obmc-linux-74e13060f11dbf4028b810e34c359f64929415f3.tar.gz
blackbird-obmc-linux-74e13060f11dbf4028b810e34c359f64929415f3.zip
ath9k: make rfkill configurable
When the platform doesn't have rfkill support, i.e. nothing is connected to the rfkill GPIO, there's little value in polling the GPIO. Add a Kconfig option to allow disabling the polling in ath9k. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/Kconfig')
-rw-r--r--drivers/net/wireless/ath/ath9k/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig
index d491a3178986..c91bc6111c23 100644
--- a/drivers/net/wireless/ath/ath9k/Kconfig
+++ b/drivers/net/wireless/ath/ath9k/Kconfig
@@ -96,6 +96,16 @@ config ATH9K_LEGACY_RATE_CONTROL
has to be passed to mac80211 using the module parameter,
ieee80211_default_rc_algo.
+config ATH9K_RFKILL
+ bool "Atheros ath9k rfkill support" if EXPERT
+ depends on ATH9K
+ depends on RFKILL=y || RFKILL=ATH9K
+ default y
+ help
+ Say Y to have ath9k poll the RF-Kill GPIO every couple of
+ seconds. Turn off to save power, but enable it if you have
+ a platform that can toggle the RF-Kill GPIO.
+
config ATH9K_HTC
tristate "Atheros HTC based wireless cards support"
depends on USB && MAC80211
OpenPOWER on IntegriCloud