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-a3cf2f4a3e73master
parent
03e5f52576
commit
f02838ffb6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue