diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2010-03-24 16:42:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-30 15:37:34 -0400 |
commit | 9e76ad2a27f592c1390248867391880c7efe78b3 (patch) | |
tree | 3b211b32964a9d686698c1397ccc3ca5095f61f6 /drivers/net | |
parent | 71976907842abb71a0e6fda081e1d16e00420849 (diff) |
rt2x00: Disable powersaving by default in rt2500usb.
Recent bug reports have shown that rt2500usb also suffers from the
powersave problems that the PCI rt2x00 drivers suffer from.
So disable powersaving by default for rt2500usb as well.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index ee34c137e7cd..dbaa78138437 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1643,6 +1643,11 @@ static int rt2500usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev) | |||
1643 | unsigned int i; | 1643 | unsigned int i; |
1644 | 1644 | ||
1645 | /* | 1645 | /* |
1646 | * Disable powersaving as default. | ||
1647 | */ | ||
1648 | rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; | ||
1649 | |||
1650 | /* | ||
1646 | * Initialize all hw fields. | 1651 | * Initialize all hw fields. |
1647 | */ | 1652 | */ |
1648 | rt2x00dev->hw->flags = | 1653 | rt2x00dev->hw->flags = |