projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838c1d7
)
madwifi: trivial antenna diversity fix
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 14 Jul 2009 16:07:26 +0000
(16:07 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 14 Jul 2009 16:07:26 +0000
(16:07 +0000)
SVN-Revision: 16846
package/madwifi/patches/420-diversity_fix.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/420-diversity_fix.patch
b/package/madwifi/patches/420-diversity_fix.patch
index 8ec805c15ca0a173a12e1dccc027642b93b0c80b..12bb77bc2ef26177ebfc26ab0053c547376b4546 100644
(file)
--- 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;