]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix possible hang on flush
authorTim Harvey <tharvey@gateworks.com>
Mon, 21 Apr 2014 23:14:56 +0000 (16:14 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 18:09:37 +0000 (14:09 -0400)
commit2b760ebb032f3ba53c07b52051d7410aa0e6e77c
tree368a5ae3ebd1dfbf016aff9934ee61fc0dc43c84
parent7c744d99f5f29b416222669006822cfeab906452
ath9k: fix possible hang on flush

If a flush is requested, make sure to clear the descriptor once we've
processed it.

This resolves a hang that will occur if all RX descriptors are full when a
flush is requested.

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