[Midnightbsd-cvs] src [6578] trunk/sys/dev/ath/ath_hal: remove duplicate const.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Dec 29 22:40:31 EST 2013


Revision: 6578
          http://svnweb.midnightbsd.org/src/?rev=6578
Author:   laffer1
Date:     2013-12-29 22:40:31 -0500 (Sun, 29 Dec 2013)
Log Message:
-----------
remove duplicate const.

Modified Paths:
--------------
    trunk/sys/dev/ath/ath_hal/ar5212/ar5212.h
    trunk/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c

Modified: trunk/sys/dev/ath/ath_hal/ar5212/ar5212.h
===================================================================
--- trunk/sys/dev/ath/ath_hal/ar5212/ar5212.h	2013-12-29 20:44:13 UTC (rev 6577)
+++ trunk/sys/dev/ath/ath_hal/ar5212/ar5212.h	2013-12-30 03:40:31 UTC (rev 6578)
@@ -143,7 +143,7 @@
 		      int16_t *minPower, int16_t *maxPower,
 		      const struct ieee80211_channel *, uint16_t *rfXpdGain);
 	HAL_BOOL  (*getChannelMaxMinPower)(struct ath_hal *ah,
-		      const const struct ieee80211_channel *,
+		      const struct ieee80211_channel *,
 		      int16_t *maxPow, int16_t *minPow);
 	int16_t	  (*getNfAdjust)(struct ath_hal *, const HAL_CHANNEL_INTERNAL*);
 } RF_HAL_FUNCS;

Modified: trunk/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c
===================================================================
--- trunk/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c	2013-12-29 20:44:13 UTC (rev 6577)
+++ trunk/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c	2013-12-30 03:40:31 UTC (rev 6578)
@@ -342,11 +342,6 @@
 		OS_REG_RMW_FIELD(ah, AR_PHY_TIMING5,
 		    AR_PHY_TIMING5_CYCPWR_THR1, params->cycPwrThr1[level]);
 
-		/* Only set the ext channel cycpwr_thr1 field for ht/40 */
-		if (IEEE80211_IS_CHAN_HT40(AH_PRIVATE(ah)->ah_curchan))
-			OS_REG_RMW_FIELD(ah, AR_PHY_EXT_CCA,
-			    AR_PHY_EXT_TIMING5_CYCPWR_THR1, params->cycPwrThr1[level]);
-
 		if (level > aniState->spurImmunityLevel)
 			ahp->ah_stats.ast_ani_spurup++;
 		else if (level < aniState->spurImmunityLevel)



More information about the Midnightbsd-cvs mailing list