From patchwork Tue Jan 26 00:28:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 75129 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0Q0TXjP009836 for ; Tue, 26 Jan 2010 00:29:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751470Ab0AZA3c (ORCPT ); Mon, 25 Jan 2010 19:29:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751466Ab0AZA3c (ORCPT ); Mon, 25 Jan 2010 19:29:32 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:38771 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751299Ab0AZA3b (ORCPT ); Mon, 25 Jan 2010 19:29:31 -0500 Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [140.211.169.55]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id o0Q0Saa8020795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Jan 2010 16:28:37 -0800 Received: from akpm.mtv.corp.google.com (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with SMTP id o0Q0SZtw020218; Mon, 25 Jan 2010 16:28:35 -0800 Date: Mon, 25 Jan 2010 16:28:35 -0800 From: Andrew Morton To: "Rafael J. Wysocki" Cc: "John W. Linville" , stable@kernel.org, linux-wireless@vger.kernel.org, Gertjan van Wingerde , Ivo van Doorn , Krister Svanlund , bugzilla-daemon@bugzilla.kernel.org, bugme-daemon@bugzilla.kernel.org Subject: Re: [Bugme-new] [Bug 15089] New: Fail to get ethernet IP-adress Message-Id: <20100125162835.6619e3f4.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Spam-Status: No, hits=-3.517 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.13 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff -puN drivers/net/wireless/rt2x00/rt2800lib.c~revert-1 drivers/net/wireless/rt2x00/rt2800lib.c --- a/drivers/net/wireless/rt2x00/rt2800lib.c~revert-1 +++ a/drivers/net/wireless/rt2x00/rt2800lib.c @@ -2037,12 +2037,6 @@ int rt2800_probe_hw_mode(struct rt2x00_d u16 eeprom; /* - * Disable powersaving as default on PCI devices. - */ - if (rt2x00_intf_is_pci(rt2x00dev)) - rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; - - /* * Initialize all hw fields. */ rt2x00dev->hw->flags = diff -puN drivers/net/wireless/rt2x00/rt61pci.c~revert-1 drivers/net/wireless/rt2x00/rt61pci.c --- a/drivers/net/wireless/rt2x00/rt61pci.c~revert-1 +++ a/drivers/net/wireless/rt2x00/rt61pci.c @@ -2535,11 +2535,6 @@ 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 =