Subject: [PATCH] LP#193970 iwlagn: fix hw-rfkill while the interface is down
Tim Gardner
tim.gardner at canonical.com
Tue Feb 17 03:24:35 UTC 2009
Huaxu Wan wrote:
> From f9e0718b28e0858c94575fb7f4358f3549ba5cea Mon Sep 17 00:00:00 2001
> From: Huaxu Wan <huaxu.wan at intel.com>
> Date: Wed, 11 Feb 2009 09:26:30 +0800
> Subject: [PATCH] LP#193970 iwlagn: fix hw-rfkill while the interface is down
>
> Backport from http://marc.info/?l=linux-wireless&m=123236704016931&w=2
>
> Fix the bug #193970 in Jaunty Alpha 4
>
> Currently iwlagn 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 iwl_pci_probe instead of iwl_up
> and enable interrups while the interface is down in order to get
> notified about killswitch state changes. The firmware loading is still
> done in iwl_up.
>
> Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
> Signed-off-by: Huaxu Wan <huaxu.wan at intel.com>
>
> ---
> drivers/net/wireless/iwlwifi/iwl-agn.c | 112 +++++++++++++++--------------
> drivers/net/wireless/iwlwifi/iwlagn.mod.c | 2 +-
> 2 files changed, 59 insertions(+), 55 deletions(-)
>
applied.
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list