Sujith Manoharan | 10 Apr 08:56 2012

[PATCH] Revert "ath9k: fix going to full-sleep on PS idle"

This reverts commit c1afdaff90538ef085b756454f12b29575411214.

Users have reported connection failures in 3.3.1 and suspend/resume
failures in 3.4-rcX. Revert this commit for now - PS IDLE can be
fixed in a clean manner later on.

Cc: stable@...
Signed-off-by: Sujith Manoharan <c_manoha@...>
---
 drivers/net/wireless/ath/ath9k/main.c |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 5697dee..ba5af8e 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
 <at>  <at>  -118,15 +118,13  <at>  <at>  void ath9k_ps_restore(struct ath_softc *sc)
 	if (--sc-≥ps_usecount != 0)
 		goto unlock;

-	if (sc->ps_flags & PS_WAIT_FOR_TX_ACK)
-		goto unlock;

Gmane