ath9k: content DMA start / stop through the PCU lock
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 26 Oct 2010 22:27:25 +0000 (15:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:47 +0000 (13:24 -0500)
commit6a6733f256f18cbcf4875e13f59eedb593b755a8
treeca1aa9ea86d946a4922d2a71d33837ec22454be1
parent4bdd1e978ede034c1211957eb17eaf50de00d234
ath9k: content DMA start / stop through the PCU lock

This helps align resets / RX enable & disable / TX stop / start.
Locking around the PCU is important to ensure the hardware doesn't
get stale data when working with DMA'able data.

This is part of a series of patches which fix stopping
TX DMA completley when requested on the driver.
For more details about this issue refer to this thread:

http://marc.info/?l=linux-wireless&m=128629803703756&w=2

Tested-by: Ben Greear <greearb@candelatech.com>
Cc: Kyungwan Nam <kyungwan.nam@atheros.com>
Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c