svn commit: r221483 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Thu May 5 04:43:05 UTC 2011


Author: adrian
Date: Thu May  5 04:43:05 2011
New Revision: 221483
URL: http://svn.freebsd.org/changeset/base/221483

Log:
  Another Howl (AR9130) fix.
  
  I haven't seen a 5ghz AR9130 based board yet though!
  
  Obtained from:	Atheros

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar2133.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar2133.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar2133.c	Thu May  5 03:58:23 2011	(r221482)
+++ head/sys/dev/ath/ath_hal/ar5416/ar2133.c	Thu May  5 04:43:05 2011	(r221483)
@@ -165,7 +165,7 @@ ar2133SetChannel(struct ath_hal *ah, con
 		}
 	} 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);


More information about the svn-src-all mailing list