]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix going to full-sleep on PS idle
authorFelix Fietkau <nbd@openwrt.org>
Sat, 10 Mar 2012 12:57:04 +0000 (13:57 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:21:53 +0000 (14:21 -0400)
commitdd4152bdce63e036743f5102c3c2bb1f8f6da1e7
tree932f83b57eccb2040d4d3c62cc158be01cbbbc02
parent978319ba1a87d61574d9cc06822a417bb2b32133
ath9k: fix going to full-sleep on PS idle

The check for PS_WAIT_FOR_TX_ACK was inverted, the hardware should only go
to full sleep if no tx is pending.

Reported-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c