Date: Wed, 10 Sep 2008 17:01:59 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 149541 for review Message-ID: <200809101701.m8AH1x7V059060@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149541 Change 149541 by sam@sam_ebb on 2008/09/10 17:01:33 IFC Affected files ... .. //depot/projects/vap/sys/dev/ath/if_athvar.h#28 integrate Differences ... ==== //depot/projects/vap/sys/dev/ath/if_athvar.h#28 (text+ko) ==== @@ -26,7 +26,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGES. * - * $FreeBSD: src/sys/dev/ath/if_athvar.h,v 1.65 2008/05/29 00:10:48 sam Exp $ + * $FreeBSD: src/sys/dev/ath/if_athvar.h,v 1.66 2008/09/09 16:21:25 rpaulo Exp $ */ /* @@ -505,7 +505,7 @@ #define ath_hal_getregdomain(_ah, _prd) \ (ath_hal_getcapability(_ah, HAL_CAP_REG_DMN, 0, (_prd)) == HAL_OK) #define ath_hal_setregdomain(_ah, _rd) \ - (*(uint16_t *)(((uint8_t *)(_ah)) + 520) = (_rd)) + (*(uint16_t *)(((uint8_t *)&(_ah)[1]) + 128) = (_rd)) #define ath_hal_getcountrycode(_ah, _pcc) \ (*(_pcc) = (_ah)->ah_countryCode) #define ath_hal_gettkipmic(_ah) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809101701.m8AH1x7V059060>