merge r16846 to 8.09
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Jul 2009 16:09:36 +0000 (16:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Jul 2009 16:09:36 +0000 (16:09 +0000)
SVN-Revision: 16847

package/madwifi/patches/420-diversity_fix.patch

index bfb4f7620c42cd23afe8c29e88a3dd4652935a92..8fc0ee78958d1d1ee7086518b3cd5252df04cb1f 100644 (file)
@@ -61,7 +61,7 @@
 -      /* XXX block beacon interrupts */
 -      ath_hal_setdiversity(ah, (sc->sc_diversity != 0));
        ath_hal_setdefantenna(ah, antenna);
-+      ath_hal_setantennaswitch(ah, sc->sc_diversity ? 0 : sc->sc_defant);
++      ath_hal_setantennaswitch(ah, sc->sc_diversity ? 0 : antenna);
        if (sc->sc_defant != antenna)
                sc->sc_stats.ast_ant_defswitch++;
        sc->sc_defant = antenna;