diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2011-01-27 16:09:38 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-28 23:27:20 +0300 |
commit | c7c1806098752c1f46943d8db2c69aff07f5d4bc (patch) | |
tree | 1890aca101508482f786bfdb2e5a0b4bfa37fa4e /README | |
parent | 5b64aa72ead6f8be488d2be7af579f0d69fb7a6e (diff) | |
download | linux-c7c1806098752c1f46943d8db2c69aff07f5d4bc.tar.xz |
ath9k: Fix power save usage count imbalance on deinit
While unloading the driver, the ps_usecount is incremented
before configuring gpio registers in deinit_device.
But it is failed to restore the ps_usecount after that.
The problem is that the chip is forcibly moved to FULL SLEEP
by radio_disable when mac80211 is reporting as idle
though ps_usecount is not zero.
This patch retores ps_usecount properly and ensures that
the chip is always moved to full sleep only if ps usage
count is zero which also helps in debugging deadbeef on
multivif case. And also fixes the following warning.
ath: DMA failed to stop in 10 ms AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef
ath: Could not stop RX, we could be confusing the DMA engine when we
start RX up
------------[ cut here ]------------
WARNING: at drivers/net/wireless/ath/ath9k/recv.c:536
ath_stoprecv+0xf4/0x100 [ath9k]()
Cc: stable@kernel.org
Cc: Paul Stewart <pstew@google.com>
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions