Root/package/mac80211/patches/591-ath9k_swba_intr_fix.patch

1--- a/drivers/net/wireless/ath/ath9k/beacon.c
2+++ b/drivers/net/wireless/ath/ath9k/beacon.c
3@@ -506,7 +506,7 @@ static void ath_beacon_config_ap(struct
4     ath9k_hw_disable_interrupts(ah);
5     ath9k_beacon_init(sc, nexttbtt, intval);
6     sc->beacon.bmisscnt = 0;
7- ath9k_hw_enable_interrupts(ah);
8+ ath9k_hw_set_interrupts(ah, ah->imask);
9 
10     /* Clear the reset TSF flag, so that subsequent beacon updation
11        will not reset the HW TSF. */
12@@ -689,7 +689,7 @@ static void ath_beacon_config_adhoc(stru
13     ath9k_hw_disable_interrupts(ah);
14     ath9k_beacon_init(sc, nexttbtt, intval);
15     sc->beacon.bmisscnt = 0;
16- ath9k_hw_enable_interrupts(ah);
17+ ath9k_hw_set_interrupts(ah, ah->imask);
18 }
19 
20 void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
21

Archive Download this file



interactive