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
master
Felix Fietkau 2011-04-14 22:46:12 +00:00
parent 03e5f52576
commit f02838ffb6
1 changed files with 1 additions and 1 deletions

View File

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