diff options
author | adrian <adrian@FreeBSD.org> | 2011-05-09 17:10:48 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-05-09 17:10:48 +0000 |
commit | 4bfd6690488fd7ad6f383c0ec1bd86301319985e (patch) | |
tree | d6b759c82a4f4637efac1cdd7d5a4d2d9ab494d3 | |
parent | ca2d82df56dc22100c56438bcd2232e7999cd16c (diff) | |
download | FreeBSD-src-4bfd6690488fd7ad6f383c0ec1bd86301319985e.zip FreeBSD-src-4bfd6690488fd7ad6f383c0ec1bd86301319985e.tar.gz |
Fix a regression I introduced - only swap analog chains if the RX chainmask
is 0x5.
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c index 21c0ad6..d1ccfc4 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c @@ -1296,7 +1296,8 @@ ar5416InitChainMasks(struct ath_hal *ah) { int rx_chainmask = AH5416(ah)->ah_rx_chainmask; - if (rx_chainmask) + /* Flip this for this chainmask regardless of chip */ + if (rx_chainmask == 0x5) OS_REG_SET_BIT(ah, AR_PHY_ANALOG_SWAP, AR_PHY_SWAP_ALT_CHAIN); /* |