summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/317-bmask.patch
blob: 39095ebefcd2d171f38c320245e87d0c9c132d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath.c	2008-02-20 21:57:58.494073773 +0100
+++ madwifi-trunk-r3314/ath/if_ath.c	2008-02-20 21:58:14.318975583 +0100
@@ -8673,6 +8673,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 */