summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/352-ani_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-09 10:17:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-09 10:17:36 +0000
commit62bef2bced78e4abadbcf86ed0aa79fec209559a (patch)
tree963de3c400ac62740a2b1ea21ef28ac2bf6fc570 /package/madwifi/patches/352-ani_fix.patch
parentea8b4cb0d74fcc3a5e851c8d077b3c0d7639eb6d (diff)
downloadmtk-20170518-62bef2bced78e4abadbcf86ed0aa79fec209559a.zip
mtk-20170518-62bef2bced78e4abadbcf86ed0aa79fec209559a.tar.gz
mtk-20170518-62bef2bced78e4abadbcf86ed0aa79fec209559a.tar.bz2
madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
SVN-Revision: 11409
Diffstat (limited to 'package/madwifi/patches/352-ani_fix.patch')
-rw-r--r--package/madwifi/patches/352-ani_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches/352-ani_fix.patch b/package/madwifi/patches/352-ani_fix.patch
new file mode 100644
index 0000000..83a0ef4
--- /dev/null
+++ b/package/madwifi/patches/352-ani_fix.patch
@@ -0,0 +1,13 @@
+Index: madwifi-trunk-r3314/ath/if_ath.c
+===================================================================
+--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-06-01 20:07:35.000000000 +0200
++++ madwifi-trunk-r3314/ath/if_ath.c 2008-06-01 20:17:01.000000000 +0200
+@@ -2528,7 +2528,7 @@
+ * Enable MIB interrupts when there are hardware phy counters.
+ * Note we only do this (at the moment) for station mode.
+ */
+- if (sc->sc_needmib && ic->ic_opmode == IEEE80211_M_STA)
++ if (sc->sc_needmib)
+ sc->sc_imask |= HAL_INT_MIB;
+ ath_hal_intrset(ah, sc->sc_imask);
+