]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Add a module parameter to disable hw rf kill switch
authorNick Kossifidis <mickflemm@gmail.com>
Fri, 25 Nov 2011 18:40:27 +0000 (20:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:44:18 +0000 (14:44 -0500)
commit46e0bf40152f3467c5cc15d31e56f9e953c8532f
treed3c6286a3b963cdee094ca2c72b7de94587f68a6
parent9f61256ca7921ec08eaaea0085c6a2d0350ef4ba
ath5k: Add a module parameter to disable hw rf kill switch

Add a module parameter to disable hw rf kill switch (GPIO interrupt) because
in some cases when the card doesn't come with the laptop, EEPROM configuration
doesn't match laptop's configuration and rf kill interrupt always fires up and
disables hw. I thought of moving this to debugfs and make it per-card but
this way it's easier for users and distros to handle.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c