From: Felix Fietkau Date: Wed, 9 Jan 2013 15:16:56 +0000 (+0100) Subject: ath9k: fix rx flush handling X-Git-Tag: v3.8-rc6~20^2~45^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b883f021b9ccf2df3d14425e6e610281fb6a35e;p=pandora-kernel.git ath9k: fix rx flush handling Right now the rx flush is not doing anything useful on AR9003+, as it only works if the buffers in the rx FIFO have not been purged yet, as is done by ath_stoprecv. To fix this, always call ath_flushrecv from within ath_stoprecv before the FIFO is emptied, but still after the hw receive path has been stopped. This ensures that frames received (and ACKed by the hardware) shortly before a reset will be seen by the software, which should improve A-MPDU session stability. Cc: stable@vger.kernel.org Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed