[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git] / package / madwifi / patches / 385-antenna_fix.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -6669,6 +6669,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++;
This page took 0.041168 seconds and 5 git commands to generate.