rt2800usb: Disable powersaving by default (Closes: #618930)
svn path=/dists/sid/linux-2.6/; revision=17091
This commit is contained in:
parent
b57acbd2b0
commit
7bede59974
|
@ -2,6 +2,7 @@ linux-2.6 (2.6.38-2) UNRELEASED; urgency=low
|
|||
|
||||
[ Ben Hutchings ]
|
||||
* kconfig: Avoid buffer underrun in choice input (fixes FTBFS on mips)
|
||||
* rt2800usb: Disable powersaving by default (Closes: #618930)
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Sat, 19 Mar 2011 05:17:42 +0000
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
From: Johannes Stezenbach <js@sig21.net>
|
||||
Date: Wed Jan 19 04:43:34 EST 2011
|
||||
Subject: [PATCH RFC] rt2800: disable powersaving as default
|
||||
|
||||
Powersaving is broken on rt2800usb (the hardware cannot do timed wakeup
|
||||
to receive beacons) and also on rt2800pci currently (auto-wakeup irq
|
||||
does no seem to work, for reasons so far unknown).
|
||||
|
||||
Signed-off-by: Johannes Stezenbach <js at sig21.net>
|
||||
|
||||
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
|
||||
index b7d91d5..b846fd9 100644
|
||||
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
|
||||
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
|
||||
@@ -3229,10 +3229,9 @@ int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
|
||||
u16 eeprom;
|
||||
|
||||
/*
|
||||
- * Disable powersaving as default on PCI devices.
|
||||
+ * Disable powersaving as default.
|
||||
*/
|
||||
- if (rt2x00_is_pci(rt2x00dev) || rt2x00_is_soc(rt2x00dev))
|
||||
- rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
|
||||
+ rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
|
||||
|
||||
/*
|
||||
* Initialize all hw fields.
|
|
@ -1 +1,2 @@
|
|||
+ bugfix/all/kconfig-Avoid-buffer-underrun-in-choice-input.patch
|
||||
+ bugfix/all/rt2800-disable-powersaving-as-default.patch
|
||||
|
|
Loading…
Reference in New Issue