mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 20:36:40 +07:00
ath9k: Disable autosleep feature for AR9285 based chipsets.
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
f2753ddbad
commit
882b709230
@ -3377,7 +3377,8 @@ void ath9k_hw_fill_cap_info(struct ath_hw *ah)
|
||||
(ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE) ||
|
||||
(ah->hw_version.macVersion == AR_SREV_VERSION_9160) ||
|
||||
(ah->hw_version.macVersion == AR_SREV_VERSION_9100) ||
|
||||
(ah->hw_version.macVersion == AR_SREV_VERSION_9280))
|
||||
(ah->hw_version.macVersion == AR_SREV_VERSION_9280) ||
|
||||
(ah->hw_version.macVersion == AR_SREV_VERSION_9285))
|
||||
pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP;
|
||||
else
|
||||
pCap->hw_caps |= ATH9K_HW_CAP_AUTOSLEEP;
|
||||
|
Loading…
Reference in New Issue
Block a user