]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: avoid passing buffers to the hardware during flush
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 May 2014 17:21:34 +0000 (19:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 May 2014 17:08:10 +0000 (13:08 -0400)
commitc405b01a8e80ef32e5cc9f25d49677b5ee7bf021
tree9a1deef1cd041c3a12fdb61e8a90e0ba7e7055c1
parent9ddfbc29479f7777d28b5d2019e32e11b05c2f5e
ath9k: avoid passing buffers to the hardware during flush

The commit "ath9k: fix possible hang on flush" changed the receive code
to always link rx descriptors of processed frames, even when flushing.
In some cases, this leads to flushed rx buffers being passed to the
hardware while rx is already stopped.

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