From: Felix Fietkau Date: Thu, 4 Nov 2010 17:05:48 +0000 (+0000) Subject: ath9k: fix enabling SWBA interrupts X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8886f1bb8a64ee2ecd2be40fff6ec2d13aa2a392;p=openwrt%2Fstaging%2Fsvanheule.git ath9k: fix enabling SWBA interrupts SVN-Revision: 23870 --- diff --git a/package/mac80211/patches/591-ath9k_swba_intr_fix.patch b/package/mac80211/patches/591-ath9k_swba_intr_fix.patch new file mode 100644 index 0000000000..5bea9f90a1 --- /dev/null +++ b/package/mac80211/patches/591-ath9k_swba_intr_fix.patch @@ -0,0 +1,20 @@ +--- a/drivers/net/wireless/ath/ath9k/beacon.c ++++ b/drivers/net/wireless/ath/ath9k/beacon.c +@@ -506,7 +506,7 @@ static void ath_beacon_config_ap(struct + ath9k_hw_disable_interrupts(ah); + ath9k_beacon_init(sc, nexttbtt, intval); + sc->beacon.bmisscnt = 0; +- ath9k_hw_enable_interrupts(ah); ++ ath9k_hw_set_interrupts(ah, ah->imask); + + /* Clear the reset TSF flag, so that subsequent beacon updation + will not reset the HW TSF. */ +@@ -689,7 +689,7 @@ static void ath_beacon_config_adhoc(stru + ath9k_hw_disable_interrupts(ah); + ath9k_beacon_init(sc, nexttbtt, intval); + sc->beacon.bmisscnt = 0; +- ath9k_hw_enable_interrupts(ah); ++ ath9k_hw_set_interrupts(ah, ah->imask); + } + + void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)