madwifi: trivial antenna diversity fix
SVN-Revision: 16846
This commit is contained in:
parent
838c1d7cd0
commit
df3b99e959
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue