]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: add a better fix for the rx tasklet vs rx flush race
authorFelix Fietkau <nbd@openwrt.org>
Wed, 9 Jan 2013 15:16:55 +0000 (16:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Jan 2013 19:12:02 +0000 (14:12 -0500)
commitbf5923edb222e3f33b35f913391e68df7f7d65bb
tree3a8c6672e339337b16a6e4bb736d3c6f2d3bb238
parentc764093d3651fa34b949744ed1968eca2f46b4ad
ath9k: add a better fix for the rx tasklet vs rx flush race

Ensure that the rx tasklet is no longer running when entering the reset path.
Also remove the distinction between flush and no-flush frame processing.
If a frame has been received and ACKed by the hardware, the stack needs to see
it, so that the BA receive window does not go out of sync.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/debug.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c