]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: make rfkill configurable
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2013 18:55:38 +0000 (20:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:26 +0000 (16:54 -0400)
commit44681d9eb9a554b1fbbe24a7bf4ad8bbe2aea843
treea0e21e817b667174b48a9c3788a7e9d3aa6079ad
parenta8049f3bce5b21837540e276eee57aed544489b2
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>
drivers/net/wireless/ath/ath9k/Kconfig
drivers/net/wireless/ath/ath9k/hw.c