ath9k_hw: Fix system hang when resuming from S3/S4
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 27 Jan 2011 13:09:37 +0000 (18:39 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Jan 2011 20:27:20 +0000 (15:27 -0500)
commit5b64aa72ead6f8be488d2be7af579f0d69fb7a6e
tree8747283a9bf88115ebeb15734379e8d977ec5843
parenta29091ecb40ec413f877cdd81f1bb5485b9d2ac9
ath9k_hw: Fix system hang when resuming from S3/S4

The bit 6 & 7 of AR_WA (0x4004) should be enabled only
for the chips that are supporting L0s functionality
while resuming back from S3/S4.

Enabling these bits for AR9280 is causing system hang
within a few S3/S4-resume cycles.

Cc: stable@kernel.org
Cc: Jack Lee <jlee@atheros.com>
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_hw.c