summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-r3776/305-bssid_mask.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches-r3776/305-bssid_mask.patch')
-rw-r--r--package/madwifi/patches-r3776/305-bssid_mask.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches-r3776/305-bssid_mask.patch b/package/madwifi/patches-r3776/305-bssid_mask.patch
new file mode 100644
index 000000000..24d2f9f22
--- /dev/null
+++ b/package/madwifi/patches-r3776/305-bssid_mask.patch
@@ -0,0 +1,13 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -8692,6 +8692,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 */