]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit3a758134e66ca74a9df792616b5288b2fa2cfd7f
tree368a5ae3ebd1dfbf016aff9934ee61fc0dc43c84
parent328e203fc35f0b4f6df1c4943f74cf553bcc04f8
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