diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 1f6f3934d379..63d0ead1c412 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c | |||
@@ -4801,7 +4801,11 @@ static void ath9k_hw_9280_spur_mitigate(struct ath_hal *ah, | |||
4801 | 4801 | ||
4802 | for (i = 0; i < 123; i++) { | 4802 | for (i = 0; i < 123; i++) { |
4803 | if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { | 4803 | if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { |
4804 | if ((abs(cur_vit_mask - bin)) < 75) | 4804 | |
4805 | /* workaround for gcc bug #37014 */ | ||
4806 | volatile int tmp = abs(cur_vit_mask - bin); | ||
4807 | |||
4808 | if (tmp < 75) | ||
4805 | mask_amt = 1; | 4809 | mask_amt = 1; |
4806 | else | 4810 | else |
4807 | mask_amt = 0; | 4811 | mask_amt = 0; |