summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-04 17:05:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-04 17:05:48 +0000
commit00444a849c370e1411553f1899070dac094a85dd (patch)
tree95ff295a393cb2ce5f6528d6819d03407a346db7 /package/mac80211/patches
parent9445a63a46f13194b60b21aea94d0f31b189e856 (diff)
ath9k: fix enabling SWBA interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23870 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/591-ath9k_swba_intr_fix.patch20
1 files changed, 20 insertions, 0 deletions
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 000000000..5bea9f90a
--- /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)