ar71xx: fix a wifi card stability issue
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Apr 2010 17:24:11 +0000 (17:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Apr 2010 17:24:11 +0000 (17:24 +0000)
commitebfdeeb2677ceae2029bc753956a7f004914c7d5
tree4c8ef99cfe2b79147da482ac43356b028378d592
parent2b3ae4b005adb08202aace4fdbbb1f221d862323
ar71xx: fix a wifi card stability issue

when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21143 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ar71xx/irq.c