From: Felix Fietkau Date: Tue, 14 Jul 2009 16:07:26 +0000 (+0000) Subject: madwifi: trivial antenna diversity fix X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df3b99e959447c8781c4dc2cb52c6a2c4d3bf385;p=librecmc%2Flibrecmc.git madwifi: trivial antenna diversity fix SVN-Revision: 16846 --- diff --git a/package/madwifi/patches/420-diversity_fix.patch b/package/madwifi/patches/420-diversity_fix.patch index 8ec805c15c..12bb77bc2e 100644 --- a/package/madwifi/patches/420-diversity_fix.patch +++ b/package/madwifi/patches/420-diversity_fix.patch @@ -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;