]> 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)
commit1ae376a88e044bc7956563ee730425d1646279df
tree9a1deef1cd041c3a12fdb61e8a90e0ba7e7055c1
parent945d24aa63cd27c3b52ed870b61fe19ba1764a51
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