From: Felix Fietkau Date: Tue, 2 Jun 2015 08:38:32 +0000 (+0200) Subject: ath9k: fix DMA stop sequence for AR9003+ X-Git-Tag: v3.2.71~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0253429b31c2286d1c4eddc9762fa0d9f64f49b3;p=pandora-kernel.git ath9k: fix DMA stop sequence for AR9003+ 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. Signed-off-by: Felix Fietkau Signed-off-by: Kalle Valo [bwh: Backported to 3.2: - Also move initialisation of ret to match upstream - ath_drain_all_txq() takes a second parameter] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed