]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:31:52 +0000 (10:31 -0700)
commitdb6a6a78d8602964c9dfb1d8ce18daefd92da0a7
tree17574ee1b8c1bbb9d9f120a66dbeef0f2f4eba9d
parentb095ac6bb999e75e7e032881ceb950fe2e33cf66
ath9k: fix going to full-sleep on PS idle

commit c1afdaff90538ef085b756454f12b29575411214 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/main.c