aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-07-14 16:07:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-07-14 16:07:26 +0000
commitdf3b99e959447c8781c4dc2cb52c6a2c4d3bf385 (patch)
treea6f2a64d1a0404e19577a08e598ed5db6b2d5545
parent838c1d7cd079ec70faed7830e0d3c88b443d8bc9 (diff)
downloadupstream-df3b99e959447c8781c4dc2cb52c6a2c4d3bf385.tar.gz
upstream-df3b99e959447c8781c4dc2cb52c6a2c4d3bf385.tar.bz2
upstream-df3b99e959447c8781c4dc2cb52c6a2c4d3bf385.zip
madwifi: trivial antenna diversity fix
SVN-Revision: 16846
-rw-r--r--package/madwifi/patches/420-diversity_fix.patch2
1 files changed, 1 insertions, 1 deletions
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;