diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 814682618b84..84abf3066cfc 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -3700,15 +3700,7 @@ void ath9k_hw_fill_cap_info(struct ath_hw *ah) | |||
3700 | } | 3700 | } |
3701 | #endif | 3701 | #endif |
3702 | 3702 | ||
3703 | if ((ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || | 3703 | pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP; |
3704 | (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE) || | ||
3705 | (ah->hw_version.macVersion == AR_SREV_VERSION_9160) || | ||
3706 | (ah->hw_version.macVersion == AR_SREV_VERSION_9100) || | ||
3707 | (ah->hw_version.macVersion == AR_SREV_VERSION_9280) || | ||
3708 | (ah->hw_version.macVersion == AR_SREV_VERSION_9285)) | ||
3709 | pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP; | ||
3710 | else | ||
3711 | pCap->hw_caps |= ATH9K_HW_CAP_AUTOSLEEP; | ||
3712 | 3704 | ||
3713 | if (AR_SREV_9280(ah) || AR_SREV_9285(ah)) | 3705 | if (AR_SREV_9280(ah) || AR_SREV_9285(ah)) |
3714 | pCap->hw_caps &= ~ATH9K_HW_CAP_4KB_SPLITTRANS; | 3706 | pCap->hw_caps &= ~ATH9K_HW_CAP_4KB_SPLITTRANS; |