diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 5f5204b82891..cdbf59108ef9 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -526,6 +526,10 @@ static void rt2400pci_config_ps(struct rt2x00_dev *rt2x00dev, | |||
526 | 526 | ||
527 | rt2x00_set_field32(®, CSR20_AUTOWAKE, 1); | 527 | rt2x00_set_field32(®, CSR20_AUTOWAKE, 1); |
528 | rt2x00pci_register_write(rt2x00dev, CSR20, reg); | 528 | rt2x00pci_register_write(rt2x00dev, CSR20, reg); |
529 | } else { | ||
530 | rt2x00pci_register_read(rt2x00dev, CSR20, ®); | ||
531 | rt2x00_set_field32(®, CSR20_AUTOWAKE, 0); | ||
532 | rt2x00pci_register_write(rt2x00dev, CSR20, reg); | ||
529 | } | 533 | } |
530 | 534 | ||
531 | rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); | 535 | rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); |