diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-23 01:07:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-23 01:07:55 +0000 |
commit | c818cdbb4d50a74c5cc046998283e71ba10fa337 (patch) | |
tree | 15c8c8e7d96e95a8dde6517c0e478e59b6351f2a /package/madwifi/patches/385-antenna_fix.patch | |
parent | 14d0041023cb4fabffd31f69519f82acd4764baa (diff) | |
download | upstream-c818cdbb4d50a74c5cc046998283e71ba10fa337.tar.gz upstream-c818cdbb4d50a74c5cc046998283e71ba10fa337.tar.bz2 upstream-c818cdbb4d50a74c5cc046998283e71ba10fa337.zip |
madwifi: improve reliability of the antenna diversity setting
SVN-Revision: 13029
Diffstat (limited to 'package/madwifi/patches/385-antenna_fix.patch')
-rw-r--r-- | package/madwifi/patches/385-antenna_fix.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/madwifi/patches/385-antenna_fix.patch b/package/madwifi/patches/385-antenna_fix.patch new file mode 100644 index 0000000000..3205502fc3 --- /dev/null +++ b/package/madwifi/patches/385-antenna_fix.patch @@ -0,0 +1,10 @@ +--- a/ath/if_ath.c ++++ b/ath/if_ath.c +@@ -6666,6 +6666,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++; |