ar71xx: fix a wifi card stability issue
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 Apr 2010 17:24:11 +0000 (17:24 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 Apr 2010 17:24:11 +0000 (17:24 +0000)
commit1cb9c65242d16695313c52be66407c0bc96933f1
tree4c8ef99cfe2b79147da482ac43356b028378d592
parentad35c2c69e946c8197d5125869e9e77730726b4e
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