sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
[openwrt/openwrt.git] / package / madwifi / patches / 385-antenna_fix.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -6666,6 +6666,7 @@ ath_setdefantenna(struct ath_softc *sc,
4 struct ath_hal *ah = sc->sc_ah;
5
6 /* XXX block beacon interrupts */
7 + ath_hal_setdiversity(ah, (sc->sc_diversity != 0));
8 ath_hal_setdefantenna(ah, antenna);
9 if (sc->sc_defant != antenna)
10 sc->sc_stats.ast_ant_defswitch++;