1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 04:30:48 +02:00
openwrt-xburst/package/mac80211/patches/523-ath9k_channel_change_fix.patch
nbd 8c0d987c3a [backfire] merge ath9k fixes from r22123
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 03:51:34 +00:00

16 lines
438 B
Diff

--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1244,9 +1244,11 @@ int ath9k_hw_reset(struct ath_hw *ah, st
if (!ah->chip_fullsleep) {
ath9k_hw_abortpcurecv(ah);
- if (!ath9k_hw_stopdmarecv(ah))
+ if (!ath9k_hw_stopdmarecv(ah)) {
ath_print(common, ATH_DBG_XMIT,
"Failed to stop receive dma\n");
+ bChannelChange = false;
+ }
}
if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE))