PERFORCE change 149392 for review
Sam Leffler
sam at FreeBSD.org
Sun Sep 7 22:14:46 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=149392
Change 149392 by sam at 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
More information about the p4-projects
mailing list