ath9k: move the PCU lock to the sc structure
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 26 Oct 2010 22:27:24 +0000 (15:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:46 +0000 (13:24 -0500)
commit4bdd1e978ede034c1211957eb17eaf50de00d234
tree156a3d3bd8b4c89e3a36103d14d9afe9cfce7bd0
parent9d94674ab754be0e275120a183670ead435f9c0d
ath9k: move the PCU lock to the sc structure

The PCU lock should be used to contend TX DMA as well,
this will be done next.

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/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c
drivers/net/wireless/ath/ath9k/xmit.c