summaryrefslogtreecommitdiff
path: root/package/madwifi/patches-testing/305-bssid_mask.patch
blob: bc02462a33492c56818da687b2bdcee903d1dcb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -8717,6 +8717,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 */