diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2014-01-29 20:54:17 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-05 00:30:07 +0400 |
commit | 8b0df00fe650197ac47c42ba71b2588334a529be (patch) | |
tree | fe38911e5a31f1c1772a0fc867d13540c672c72d /drivers/net/wireless/rt2x00/rt2500pci.c | |
parent | 58e33a219298c5ba0f88ce9a7d0f448eb3ae884a (diff) | |
download | linux-8b0df00fe650197ac47c42ba71b2588334a529be.tar.xz |
rt2500: disable PS by default
It is know that PS cause issues on that old devices, disable it by
default.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index abc5f56f29fe..2f1cd929c6f6 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c @@ -1877,6 +1877,11 @@ static int rt2500pci_probe_hw_mode(struct rt2x00_dev *rt2x00dev) EEPROM_MAC_ADDR_0)); /* + * Disable powersaving as default. + */ + rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; + + /* * Initialize hw_mode information. */ spec->supported_bands = SUPPORT_BAND_2GHZ; |