Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161Ab0AEU70 (ORCPT ); Tue, 5 Jan 2010 15:59:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754839Ab0AEU7Z (ORCPT ); Tue, 5 Jan 2010 15:59:25 -0500 Received: from cpsmtpm-eml103.kpnxchange.com ([195.121.3.7]:53853 "EHLO CPSMTPM-EML103.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752395Ab0AEU7Y (ORCPT ); Tue, 5 Jan 2010 15:59:24 -0500 Message-ID: <4B43A82B.6010103@gmail.com> Date: Tue, 05 Jan 2010 21:59:23 +0100 From: Gertjan van Wingerde User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091210 Lightning/1.0pre Shredder/3.0 MIME-Version: 1.0 To: Greg KH CC: linux-kernel@vger.kernel.org, stable@kernel.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, stable-review@kernel.org, Ivo van Doorn , "John W. Linville" Subject: Re: [32/39] rt2x00: Disable powersaving for rt61pci and rt2800pci. References: <20100105200303.142938701@mini.kroah.org> In-Reply-To: <20100105200303.142938701@mini.kroah.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Jan 2010 20:59:24.0144 (UTC) FILETIME=[F5D25700:01CA8E49] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1603 Lines: 52 On 01/05/10 21:02, Greg KH wrote: > 2.6.31-stable review patch. If anyone has any objections, please let us know. > > ------------------ > > From: Gertjan van Wingerde > > commit 93b6bd26b74efe46b4579592560f9f1cb7b61994 upstream. > > We've had many reports of rt61pci failures with powersaving enabled. > Therefore, as a stop-gap measure, disable powersaving of the rt61pci > until we have found a proper solution. > Also disable powersaving on rt2800pci as it most probably will show > the same problem. > > Signed-off-by: Gertjan van Wingerde > Acked-by: Ivo van Doorn > Signed-off-by: John W. Linville > Signed-off-by: Greg Kroah-Hartman > > --- > drivers/net/wireless/rt2x00/rt61pci.c | 5 +++++ > 1 file changed, 5 insertions(+) > > --- a/drivers/net/wireless/rt2x00/rt61pci.c > +++ b/drivers/net/wireless/rt2x00/rt61pci.c > @@ -2546,6 +2546,11 @@ static int rt61pci_probe_hw_mode(struct > unsigned int i; > > /* > + * Disable powersaving as default. > + */ > + rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; > + > + /* > * Initialize all hw fields. > */ > rt2x00dev->hw->flags = > > > Same as for .32-stable. An updated patch (as sent by John Linville) is needed to compile correctly. --- Gertjan. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/