mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
5eef1e4f29
SVN-Revision: 23971
11 lines
332 B
Diff
11 lines
332 B
Diff
--- a/ath/if_ath.c
|
|
+++ b/ath/if_ath.c
|
|
@@ -6669,6 +6669,7 @@ ath_setdefantenna(struct ath_softc *sc,
|
|
struct ath_hal *ah = sc->sc_ah;
|
|
|
|
/* XXX block beacon interrupts */
|
|
+ ath_hal_setdiversity(ah, (sc->sc_diversity != 0));
|
|
ath_hal_setdefantenna(ah, antenna);
|
|
if (sc->sc_defant != antenna)
|
|
sc->sc_stats.ast_ant_defswitch++;
|