add a patch for properly refreshing the bssidmask
authorFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jan 2008 04:47:11 +0000 (04:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jan 2008 04:47:11 +0000 (04:47 +0000)
SVN-Revision: 10268

package/madwifi/patches/317-bmask.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/317-bmask.patch b/package/madwifi/patches/317-bmask.patch
new file mode 100644 (file)
index 0000000..b4ce4ac
--- /dev/null
@@ -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 */