aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/317-bmask.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-26 04:47:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-26 04:47:11 +0000
commit7c9bfa0ce25bcabf76ec7a9db520c421beda1123 (patch)
tree4292c3e68e75857bb7068ef5f3b4583a16eef60a /package/madwifi/patches/317-bmask.patch
parentb6ed86f4c2bffe8807533c5300d81dd06bcb3213 (diff)
downloadupstream-7c9bfa0ce25bcabf76ec7a9db520c421beda1123.tar.gz
upstream-7c9bfa0ce25bcabf76ec7a9db520c421beda1123.tar.bz2
upstream-7c9bfa0ce25bcabf76ec7a9db520c421beda1123.zip
add a patch for properly refreshing the bssidmask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10268 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/317-bmask.patch')
-rw-r--r--package/madwifi/patches/317-bmask.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/madwifi/patches/317-bmask.patch b/package/madwifi/patches/317-bmask.patch
new file mode 100644
index 0000000000..b4ce4ac650
--- /dev/null
+++ b/package/madwifi/patches/317-bmask.patch
@@ -0,0 +1,15 @@
+Index: madwifi-dfs-r3252/ath/if_ath.c
+===================================================================
+--- madwifi-dfs-r3252.orig/ath/if_ath.c 2008-01-26 05:46:05.078738026 +0100
++++ madwifi-dfs-r3252/ath/if_ath.c 2008-01-26 05:46:09.658999042 +0100
+@@ -8626,6 +8626,10 @@
+
+ sc->sc_rxbufcur = NULL;
+
++ /* configure bssid mask */
++ if (sc->sc_hasbmask)
++ ath_hal_setbssidmask(ah, sc->sc_bssidmask);
++
+ bf = STAILQ_FIRST(&sc->sc_rxbuf);
+ ath_hal_putrxbuf(ah, bf->bf_daddr);
+ ath_hal_rxena(ah); /* enable recv descriptors */