From patchwork Tue Dec 8 23:53:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Lippers-Hollmann X-Patchwork-Id: 65834 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB8NrUbe016086 for ; Tue, 8 Dec 2009 23:53:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966930AbZLHXxW (ORCPT ); Tue, 8 Dec 2009 18:53:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966705AbZLHXxW (ORCPT ); Tue, 8 Dec 2009 18:53:22 -0500 Received: from mail.gmx.net ([213.165.64.20]:45126 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S966694AbZLHXxV (ORCPT ); Tue, 8 Dec 2009 18:53:21 -0500 Received: (qmail invoked by alias); 08 Dec 2009 23:53:26 -0000 Received: from p4FC42B18.dip.t-dialin.net (EHLO salyut.localnet) [79.196.43.24] by mail.gmx.net (mp015) with SMTP; 09 Dec 2009 00:53:26 +0100 X-Authenticated: #1587495 X-Provags-ID: V01U2FsdGVkX1+Yk7hszRuYO8XbAugC2tNpClsgKYZv4CvFlaYgxJ x+WPvLs+q6IztM From: "Stefan Lippers-Hollmann" To: Johannes Berg Subject: Re: regression: rt2561 frequent "Arrived at non-free entry" errors in =?utf-8?q?=092=2E6=2E32?= Date: Wed, 9 Dec 2009 00:53:24 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.32-0.slh.3-sidux-amd64; KDE/4.3.2; x86_64; ; ) Cc: Gertjan van Wingerde , Andi Kleen , linux-wireless@vger.kernel.org, Tim Blechmann , rjw@sisk.pl, IvDoorn@gmail.com, linville@tuxdriver.com References: <20091204233202.GA13658@basil.fritz.box> <200912082339.16893.s.L-H@gmx.de> <1260312016.32227.6.camel@johannes.local> In-Reply-To: <1260312016.32227.6.camel@johannes.local> MIME-Version: 1.0 Message-Id: <200912090053.25798.s.L-H@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.47 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c @@ -837,6 +837,15 @@ int rt2x00lib_probe_dev(struct rt2x00_de BIT(NL80211_IFTYPE_WDS); /* + * Disable power saving for the time being, it breaks at least: + * - rt61pci + * while it isn't necessary for: + * - rt2500usb + * - rt73usb + */ + rt2x00dev->hw->wiphy->ps_default = false; + + /* * Let the driver probe the device to detect the capabilities. */ retval = rt2x00dev->ops->lib->probe_hw(rt2x00dev);