]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: prevent endless pci rx loop
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 21 Jul 2014 18:03:10 +0000 (21:03 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 22 Jul 2014 18:31:08 +0000 (21:31 +0300)
commitc29a380e4a8157f8bf6a91c216a77439a293c93d
tree65a68c69c59b804f56ab0af4f1179d8ea3d4abd5
parentc21c64d145e64d92a6c8f8e13c9b6b5b711832eb
ath10k: prevent endless pci rx loop

It was possible to enter an endless loop while
processing a single pci copy engine pipe. This
could effectively render ath10k incapable of
responding to any requests.

An example case when this could happen is when
firmware generates a lot of events, e.g. spectral
scan phyerr via WMI.

Reported-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c