Re: [RFT][PATCH] ath5k: Add rfkill_disable module parameter
From: Pavel Roskin <hidden>
Date: 2011-09-28 22:07:48
From: Pavel Roskin <hidden>
Date: 2011-09-28 22:07:48
On Mon, 19 Sep 2011 19:01:24 +0300 Nick Kossifidis [off-list ref] wrote:
Add a module parameter to disable hw rf kill (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 <redacted> Tested on 2 cards in Mikrotik RB-14 adapter. One was OK without the patch. The other was shown as hard-blocked by rfkill and didn't work. With the rfkill_disable=1, both cards work. Soft rfkill is still working properly. Please consider a parameter name that indicates that only hard rfkill is affected, for instance "no_hw_rfkill". -- Regards, Pavel Roskin