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)
commit84e1e7373b961713bde371b9391d91fe7150d7f2
treed3c6286a3b963cdee094ca2c72b7de94587f68a6
parentdafae6af0336958e9e2eb67cc5e4e31d6d13b308
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