From owner-svn-src-projects@FreeBSD.ORG Thu Jun 25 19:39:17 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 128CA106564A; Thu, 25 Jun 2009 19:39:17 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 00E338FC17; Thu, 25 Jun 2009 19:39:17 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5PJdGnC062703; Thu, 25 Jun 2009 19:39:16 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5PJdGu3062696; Thu, 25 Jun 2009 19:39:16 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200906251939.n5PJdGu3062696@svn.freebsd.org> From: Sam Leffler Date: Thu, 25 Jun 2009 19:39:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194999 - in projects/mesh11s/sys/dev/ath/ath_hal: . ar5212 ar5416 X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 19:39:17 -0000 Author: sam Date: Thu Jun 25 19:39:16 2009 New Revision: 194999 URL: http://svn.freebsd.org/changeset/base/194999 Log: Fix typos. Repeat after me: test first, then commit. Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah.c projects/mesh11s/sys/dev/ath/ath_hal/ah.h projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah.c ============================================================================== --- projects/mesh11s/sys/dev/ath/ath_hal/ah.c Thu Jun 25 19:38:14 2009 (r194998) +++ projects/mesh11s/sys/dev/ath/ath_hal/ah.c Thu Jun 25 19:39:16 2009 (r194999) @@ -504,7 +504,7 @@ ath_hal_getcapability(struct ath_hal *ah *result = pCap->halIntrMask; return HAL_OK; case HAL_CAP_BSSIDMATCH: /* hardware has disable bssid match */ - return pCap->halBsssidMatchSupport ? HAL_OK : HAL_ENOTSUPP; + return pCap->halBssidMatchSupport ? HAL_OK : HAL_ENOTSUPP; default: return HAL_EINVAL; } Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah.h ============================================================================== --- projects/mesh11s/sys/dev/ath/ath_hal/ah.h Thu Jun 25 19:38:14 2009 (r194998) +++ projects/mesh11s/sys/dev/ath/ath_hal/ah.h Thu Jun 25 19:39:16 2009 (r194999) @@ -297,7 +297,7 @@ typedef enum { HAL_RX_FILTER_PHYERR = 0x00000100, /* Allow phy errors */ HAL_RX_FILTER_PHYRADAR = 0x00000200, /* Allow phy radar errors */ HAL_RX_FILTER_COMPBAR = 0x00000400, /* Allow compressed BAR */ - HAL_RX_FILTER_BSSID = 0x00000800, /* Force BSSID match */ + HAL_RX_FILTER_BSSID = 0x00000800, /* Disable BSSID match */ } HAL_RX_FILTER; typedef enum { Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h ============================================================================== --- projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h Thu Jun 25 19:38:14 2009 (r194998) +++ projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h Thu Jun 25 19:39:16 2009 (r194999) @@ -194,7 +194,7 @@ typedef struct { halForcePpmSupport : 1, halEnhancedPmSupport : 1, halMbssidAggrSupport : 1, - halBsssidMatchSupport : 1; + halBssidMatchSupport : 1; uint32_t halWirelessModes; uint16_t halTotalQueues; uint16_t halKeyCacheSize; Modified: projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c ============================================================================== --- projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Thu Jun 25 19:38:14 2009 (r194998) +++ projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Thu Jun 25 19:39:16 2009 (r194999) @@ -840,7 +840,7 @@ ar5212FillCapabilityInfo(struct ath_hal /* h/w phy counters */ pCap->halHwPhyCounterSupport = AH_TRUE; /* bssid match disable */ - pCap->halBssIdMaskSupport = AH_TRUE; + pCap->halBssidMatchSupport = AH_TRUE; } pCap->halTstampPrecision = 15; Modified: projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c ============================================================================== --- projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c Thu Jun 25 19:38:14 2009 (r194998) +++ projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c Thu Jun 25 19:39:16 2009 (r194999) @@ -163,7 +163,7 @@ ar5212GetRxFilter(struct ath_hal *ah) bits |= HAL_RX_FILTER_PHYRADAR; if (phybits & (AR_PHY_ERR_OFDM_TIMING|AR_PHY_ERR_CCK_TIMING)) bits |= HAL_RX_FILTER_PHYERR; - if (AH_PRIVATE(ah)->ah_caps.halBsssidMatchSupport && + if (AH_PRIVATE(ah)->ah_caps.halBssidMatchSupport && (OS_REG_READ(ah, AR_MISC_MODE) & AR_MISC_MODE_BSSID_MATCH_FORCE)) bits |= HAL_RX_FILTER_BSSID; return bits; @@ -193,7 +193,7 @@ ar5212SetRxFilter(struct ath_hal *ah, ui OS_REG_WRITE(ah, AR_RXCFG, OS_REG_READ(ah, AR_RXCFG) &~ AR_RXCFG_ZLFDMA); } - if (AH_PRIVATE(ah)->ah_caps.halBsssidMatchSupport) { + if (AH_PRIVATE(ah)->ah_caps.halBssidMatchSupport) { uint32_t miscbits = OS_REG_READ(ah, AR_MISC_MODE); if (bits & HAL_RX_FILTER_BSSID) miscbits |= AR_MISC_MODE_BSSID_MATCH_FORCE; Modified: projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c ============================================================================== --- projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Thu Jun 25 19:38:14 2009 (r194998) +++ projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Thu Jun 25 19:39:16 2009 (r194999) @@ -811,7 +811,7 @@ ar5416FillCapabilityInfo(struct ath_hal pCap->halMbssidAggrSupport = AH_TRUE; pCap->halForcePpmSupport = AH_TRUE; pCap->halEnhancedPmSupport = AH_TRUE; - pCap->halBsssidMatchSupport = AH_TRUE; + pCap->halBssidMatchSupport = AH_TRUE; if (ath_hal_eepromGetFlag(ah, AR_EEP_RFKILL) && ath_hal_eepromGet(ah, AR_EEP_RFSILENT, &ahpriv->ah_rfsilent) == HAL_OK) {