1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 16:48:11 +03:00

ath9k: fix resetting the hw during channel change when the MAC fails to go idle

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26665 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-04-14 22:46:12 +00:00
parent 6152ff34ea
commit 18bdb01337

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)