Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2008 22:14:45 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149392 for review
Message-ID:  <200809072214.m87MEjj3030838@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149392

Change 149392 by sam@sam_ebb on 2008/09/07 22:13:52

	hack a check for building against old hal versions

Affected files ...

.. //depot/projects/vap/sys/dev/ath/if_ath.c#92 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/if_ath.c#92 (text+ko) ====

@@ -607,6 +607,7 @@
 	wmodes = ath_hal_getwirelessmodes(ah, ic->ic_regdomain.country);
 	if (wmodes & (HAL_MODE_108G|HAL_MODE_TURBO))
 		ic->ic_caps |= IEEE80211_C_TURBOP;
+#if HAL_ABI_VERSION > 0x06102600	/* XXX not exact but close enough */
 	if (wmodes & HAL_MODE_HT20) {
 		/* XXX no capabilities for short GI */
 		ic->ic_htcaps |= IEEE80211_HTC_HT;
@@ -616,6 +617,7 @@
 			ic->ic_htcaps |= IEEE80211_HTCAP_SHORTGI40;
 		}
 	}
+#endif
 
 	/*
 	 * Indicate we need the 802.11 header padded to a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809072214.m87MEjj3030838>