rt2x00: Disable auto wakeup before waking up device.
authorGertjan van Wingerde <gwingerde@gmail.com>
Tue, 30 Mar 2010 21:50:23 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Apr 2010 20:52:07 +0000 (16:52 -0400)
commit5731858d0047cad309d334c4cd6ccb6199bf28fe
tree7fd0c4738843b41a6490a57d20cfea6a6d76ff2a
parent8a64c0f6b7ec7f758c4ef445e49f479e27fa2236
rt2x00: Disable auto wakeup before waking up device.

In all drivers ensure that auto wakeup is disabled before waking up the device.
This is needed to prevent connection stability issues and problems in waking up
the device.

Based upon a patch from Ondrej Zary <linux@rainbow-software.org>

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt73usb.c