diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2009-01-15 09:38:44 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:28 -0500 |
commit | 2663516d8fb896430bf42dce41b3e2f141d63bd5 (patch) | |
tree | d53989bd9ca5b2b722f5a804420c7ec0175b959b /drivers/net/wireless/ath9k/xmit.c | |
parent | c95741deef31d14c3a3d58397f9a3d2126d452e5 (diff) |
iwl3945: report killswitch changes even if the interface is down
Currently iwl3945 is not able to report hw-killswitch events while the
interface is down. This has implications on user space tools (like
NetworkManager) relying on rfkill notifications to bring the interface
up once the wireless gets enabled through a hw killswitch.
Thus, enable the device already in iwl3945_pci_probe instead of iwl3945_up
and poll the CSR_GP_CNTRL register to update the killswitch state every
two seconds. The polling is only needed on 3945 hardware as this adapter
does not use interrupts to signal rfkill changes to the driver (in case no
firmware is loaded). The firmware loading is still done in iwl3945_up.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/xmit.c')
0 files changed, 0 insertions, 0 deletions