diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 895990751d36..721ec5ee381d 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -3025,8 +3025,6 @@ ath5k_hw_txpower(struct ath5k_hw *ah, struct ieee80211_channel *channel, | |||
3025 | ATH5K_ERR(ah->ah_sc, "invalid tx power: %u\n", txpower); | 3025 | ATH5K_ERR(ah->ah_sc, "invalid tx power: %u\n", txpower); |
3026 | return -EINVAL; | 3026 | return -EINVAL; |
3027 | } | 3027 | } |
3028 | if (txpower == 0) | ||
3029 | txpower = AR5K_TUNE_DEFAULT_TXPOWER; | ||
3030 | 3028 | ||
3031 | /* Reset TX power values */ | 3029 | /* Reset TX power values */ |
3032 | memset(&ah->ah_txpower, 0, sizeof(ah->ah_txpower)); | 3030 | memset(&ah->ah_txpower, 0, sizeof(ah->ah_txpower)); |