Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563Ab0AEUIg (ORCPT ); Tue, 5 Jan 2010 15:08:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755528Ab0AEUG2 (ORCPT ); Tue, 5 Jan 2010 15:06:28 -0500 Received: from kroah.org ([198.145.64.141]:50058 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755523Ab0AEUG0 (ORCPT ); Tue, 5 Jan 2010 15:06:26 -0500 X-Mailbox-Line: From gregkh@mini.kroah.org Tue Jan 5 12:03:03 2010 Message-Id: <20100105200303.142938701@mini.kroah.org> User-Agent: quilt/0.48-1 Date: Tue, 05 Jan 2010 12:02:28 -0800 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, stable-review@kernel.org Cc: Gertjan van Wingerde , Ivo van Doorn , "John W. Linville" Subject: [32/39] rt2x00: Disable powersaving for rt61pci and rt2800pci. In-Reply-To: <20100105195007.GA23952@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1373 Lines: 44 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 = -- 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/