rt2x00: Enable powersaving by default again on rt2500usb.
authorGertjan van Wingerde <gwingerde@gmail.com>
Tue, 30 Mar 2010 21:50:24 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:08 +0000 (15:24 -0400)
Now that the powersave issues on rt2500usb have been tackled, powersave
can be enabled by default again.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c

index 54d2716..c1eec17 100644 (file)
@@ -1647,11 +1647,6 @@ static int rt2500usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
        unsigned int i;
 
        /*
-        * Disable powersaving as default.
-        */
-       rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
-
-       /*
         * Initialize all hw fields.
         */
        rt2x00dev->hw->flags =