ath9k: Disable autosleep feature for AR9285 based chipsets.
PATCH 1/1 ath9k: Disable autosleep feature for AR9285 based chipsets.
Signed-off-by Vivek Natarajan <[email protected]>
--- drivers/net/wireless/ath9k/hw.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath9k/hw.c +2 -1
@@ -3411,7 +3411,8 @@ bool 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;
Signature · 1 line
1.6.0.1
Quoted 10 lines · Vivek Natarajan
Signed-off-by Vivek Natarajan <[email protected]>--- drivers/net/wireless/ath9k/hw.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)drivers/net/wireless/ath9k/hw.c +0
-0
drivers/net/wireless/ath9k/hw.c bool ath9k_hw_fill_cap_info(struct ath_hw *ah) · line 3418
Quoted 9 lines
drivers/net/wireless/ath9k/hw.c +2
-1@@ -3411,7 +3411,8 @@ bool 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;
error: drivers/net/wireless/ath9k/hw.c: No such file or directory
Granted, I'm a bit behind on my patch queue. Perhaps I'm missing a patch?
John
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.