summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-05 20:17:53 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-12-07 14:57:05 -0500
commit080e1a259acea10b6df8e2a8e49b47481940220a (patch)
tree1e5b3972ea040ed40a255529da5e522a6909d5be /drivers/net/smc911x.c
parent841051602e3fa18ea468fe5a177aa92b6eb44b56 (diff)
downloadop-kernel-dev-080e1a259acea10b6df8e2a8e49b47481940220a.zip
op-kernel-dev-080e1a259acea10b6df8e2a8e49b47481940220a.tar.gz
ath9k: fix a DMA related race condition on reset
When ath_drain_all_txq fails to stop DMA, it issues a hw reset. This reset happens at a very problematic point in time, when the hardware rx path has not been stopped yet. This could lead to memory corruption, hardware hangs or other issues. To fix these issues, simply remove the reset entirely and check the tx DMA stop status to prevent problems with fast channel changes. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/smc911x.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud