Return-path: Received: from ox1.aei.mpg.de ([194.94.224.6]:41633 "EHLO ox1.aei.mpg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753083AbYJ0W2U (ORCPT ); Mon, 27 Oct 2008 18:28:20 -0400 Date: Mon, 27 Oct 2008 23:28:52 +0100 From: "Carlos R. Mafra" To: Tomas Winkler Cc: "Rafael J. Wysocki" , Johannes Berg , Soeren Sonnenburg , linux-kernel@vger.kernel.org, "John W. Linville" , linux-wireless@vger.kernel.org Subject: Re: Suspend to RAM regression in 2.6.28-rc2 (bisected) Message-ID: <20081027222852.GA3907@localhost.aei.mpg.de> (sfid-20081027_232834_707843_AE7E7275) References: <20081027162054.GA4015@localhost.aei.mpg.de> <1225134823.3796.45.camel@johannes.berg> <20081027203925.GA4416@localhost.aei.mpg.de> <200810272151.01244.rjw@sisk.pl> <1ba2fa240810271407o15f1f150t2d2793f4e5ad6e5b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1ba2fa240810271407o15f1f150t2d2793f4e5ad6e5b@mail.gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon 27.Oct'08 at 23:07:00 +0200, Tomas Winkler wrote: >[...] > > Can someone try this one (it might be space broken I've just pasted > that in) It's on top of 1d63e726408dfdb3e10ed8f00c383b30ebb333d3 > (latest linux-2.6.git) Yes, this one also works for me (I applied it manually). > diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c > b/drivers/net/wireless/iwlwifi/iwl-agn.c > index 24a1aeb..321dbc8 100644 > --- a/drivers/net/wireless/iwlwifi/iwl-agn.c > +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c > @@ -2090,7 +2090,6 @@ static void iwl_alive_start(struct iwl_priv *priv) > iwl4965_error_recovery(priv); > > iwl_power_update_mode(priv, 1); > - ieee80211_notify_mac(priv->hw, IEEE80211_NOTIFY_RE_ASSOC); > > if (test_and_clear_bit(STATUS_MODE_PENDING, &priv->status)) > iwl4965_set_mode(priv, priv->iw_mode); > @@ -2342,6 +2341,7 @@ static void iwl_bg_alive_start(struct work_struct *data) > mutex_lock(&priv->mutex); > iwl_alive_start(priv); > mutex_unlock(&priv->mutex); > + ieee80211_notify_mac(priv->hw, IEEE80211_NOTIFY_RE_ASSOC); > } > > static void iwl4965_bg_rf_kill(struct work_struct *work) > > > Thanks > Tomas