Re: wifi iwlagn fails to authenticate after wake from suspend

From: MatÃas Aguirre
Date: Mon Dec 12 2011 - 01:36:48 EST


Hi,

On Sat, Oct 29, 2011 at 2:32 AM, Gene Smith <gds@xxxxxxxxxxxxx> wrote:
> David Rientjes wrote, On 10/26/2011 02:27 AM:
>> So we need to bisect between 2.4.38 and 3.0.0? :) ÂI'm running ubuntu
>> 11.10 on a home laptop so I'll give this a try as well when I can if I can
>> put up with unity for that long.

I've bisected the problem and narrowed the bug to changeset 73b78a2272
(http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=73b78a22720087d2d384bdd49e9c25500ba73edd).

Here's a patch, that applies against 3.2-rc5, that fixed the error for me:

diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c
b/drivers/net/wireless/iwlwifi/iwl-agn.c
index bacc06c..01d5d38 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1297,7 +1297,7 @@ int iwl_alive_start(struct iwl_priv *priv)
BT_COEX_PRIO_TBL_EVT_INIT_CALIB2);
if (ret)
return ret;
- } else {
+ } else if (priv->cfg->bt_params) {
/*
* default is 2-wire BT coexexistence support
*/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/