diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-14 16:07:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-14 16:07:26 +0000 |
commit | 2d8aa6f161affeeb2c8d3c54b53a1dd158f92c58 (patch) | |
tree | 8e684dfe8fa0f47662b526494f85a35574385fb4 /package/madwifi | |
parent | 88a05e95b0e11b94d44501c09d62063622b1cfe1 (diff) | |
download | upstream-2d8aa6f161affeeb2c8d3c54b53a1dd158f92c58.tar.gz upstream-2d8aa6f161affeeb2c8d3c54b53a1dd158f92c58.tar.bz2 upstream-2d8aa6f161affeeb2c8d3c54b53a1dd158f92c58.zip |
madwifi: trivial antenna diversity fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16846 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r-- | package/madwifi/patches/420-diversity_fix.patch | 2 |
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; |