mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
ath9k: fix resetting the hw during channel change when the MAC fails to go idle
SVN-Revision: 26665
This commit is contained in:
parent
79ecac89e6
commit
e0aa62e3c2
@ -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…
x
Reference in New Issue
Block a user