Another Howl (AR9130) fix.

I haven't seen a 5ghz AR9130 based board yet though!

Obtained from:	Atheros
This commit is contained in:
Adrian Chadd 2011-05-05 04:43:05 +00:00
parent d2615832bf
commit ed8659ed69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221483

View File

@ -165,7 +165,7 @@ ar2133SetChannel(struct ath_hal *ah, const struct ieee80211_channel *chan)
}
} else if ((freq % 20) == 0 && freq >= 5120) {
channelSel = ath_hal_reverseBits(((freq - 4800) / 20 << 2), 8);
if (AR_SREV_SOWL_10_OR_LATER(ah))
if (AR_SREV_HOWL(ah) || AR_SREV_SOWL_10_OR_LATER(ah))
aModeRefSel = ath_hal_reverseBits(3, 2);
else
aModeRefSel = ath_hal_reverseBits(1, 2);