]> git.baikalelectronics.ru Git - kernel.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)
commit010c89f35401dc49cae7b99860e44107e3dfa946
tree65a68c69c59b804f56ab0af4f1179d8ea3d4abd5
parent6aa65ea8905c239723f4e671b209fd933660d175
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