From 5a5d58c0cb86bf654f603404338e64e35d4a1651 Mon Sep 17 00:00:00 2001 From: coypu Date: Sat, 17 Sep 2016 00:20:46 +0300 Subject: [PATCH 16/27] we're not actually doing anything in SAVE_CCK ... and later on with the value isBmode remove (clears compile error, set but unused) --- sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c b/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c index d53d86c..2017fda 100644 --- a/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c +++ b/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c @@ -1990,9 +1990,7 @@ ar5212SetTxPowerLimit(struct ath_hal *ah, uint32_t limit) /* XXX blech, construct local writable copy */ struct ieee80211_channel dummy = *AH_PRIVATE(ah)->ah_curchan; uint16_t dummyXpdGains[2]; - HAL_BOOL isBmode; - SAVE_CCK(ah, &dummy, isBmode); AH_PRIVATE(ah)->ah_powerLimit = AH_MIN(limit, MAX_RATE_POWER); return ar5212SetTransmitPower(ah, &dummy, dummyXpdGains); } -- 2.9.3