mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 20:50:15 +02: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:
parent
6152ff34ea
commit
18bdb01337
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user