ath9k: add another batch of stability updates and misc fixes
[openwrt/staging/wigyori.git] / package / mac80211 / patches / 523-ath9k_channel_change_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -1244,9 +1244,11 @@ int ath9k_hw_reset(struct ath_hw *ah, st
4
5 if (!ah->chip_fullsleep) {
6 ath9k_hw_abortpcurecv(ah);
7 - if (!ath9k_hw_stopdmarecv(ah))
8 + if (!ath9k_hw_stopdmarecv(ah)) {
9 ath_print(common, ATH_DBG_XMIT,
10 "Failed to stop receive dma\n");
11 + bChannelChange = false;
12 + }
13 }
14
15 if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE))