diff mbox

[Bugme-new,Bug,15089] New: Fail to get ethernet IP-adress

Message ID 20100125162835.6619e3f4.akpm@linux-foundation.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Andrew Morton Jan. 26, 2010, 12:28 a.m. UTC
None
diff mbox

Patch

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 =