Patch "ath9k: fix DMA stop sequence for AR9003+" has been added to the 3.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
ath9k: fix DMA stop sequence for AR9003+
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ath9k-fix-dma-stop-sequence-for-ar9003.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
300f77c08ded96d33f492aaa02549103852f0c12Mon Sep 17 00:00:00 2001
From: Felix Fietkau <[email protected]>
Date: Tue, 2 Jun 2015 10:38:32 +0200
Subject: ath9k: fix DMA stop sequence for AR9003+
From: Felix Fietkau <[email protected]>
commit 300f77c08ded96d33f492aaa02549103852f0c12 upstream.
AR93xx and newer needs to stop rx before tx to avoid getting the DMA engine or MAC into a stuck state.
This should reduce/fix the occurence of "Failed to stop Tx DMA" logspam.
--- drivers/net/wireless/ath/ath9k/main.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
drivers/net/wireless/ath/ath9k/main.c +7 -5
@@ -195,11 +195,13 @@ static bool ath_prepare_reset(struct athath9k_debug_samp_bb_mac (sc);ath9k_hw_disable_interrupts (ah); -if (!ath_drain_all_txq (sc)) - ret = false; - -if (!ath_stoprecv (sc)) - ret = false; +if (AR_SREV_9300_20_OR_LATER (ah)) { + ret &=ath_stoprecv (sc); + ret &=ath_drain_all_txq (sc); + }else { + ret &=ath_drain_all_txq (sc); + ret &=ath_stoprecv (sc); + }return ret; }
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/ath9k-fix-dma-stop-sequence-for-ar9003.patch