1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-02-17 15:24:43 +02:00

ath9k: fix resetting the hw when the MAC fails to go idle (backport of r26665)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26666 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-04-14 22:47:25 +00:00
parent 062af8f559
commit 2bb67a3907

View File

@ -258,7 +258,7 @@
ATH_DBG_WARN_ON_ONCE(!stopped);
}
- return stopped;
+ return stopped || reset;
+ return stopped && !reset;
}
void ath_flushrecv(struct ath_softc *sc)