]> git.karo-electronics.de Git - linux-beck.git/commit
ath5k: Reset Tx interrupt bits also on PISR
authorNick Kossifidis <mickflemm@gmail.com>
Sat, 7 Dec 2013 02:17:40 +0000 (02:17 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Dec 2013 15:56:22 +0000 (10:56 -0500)
commitcb161cda634ae5fdb4de797096ba9028171507d2
treeca3b1ac67a4ad722b45d5714a36176c44972b310
parent98b32decc83ed3137e3ddbc918b102f8fc406b6d
ath5k: Reset Tx interrupt bits also on PISR

Some cards don't update the PISR properly when all SISR bits
for Tx interrupts are being cleared and as a result we get
interrupt storm. Since we handle all tx queues all together
(so we don't really use the SISR bits to do per-queue interrupt
handling), we can manualy update PISR by doing a write-to-clear
on its Tx interrupt bits.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/dma.c