Skip to contentSkip to conversation

ath9k: Disable autosleep feature for AR9285 based chipsets.

PATCH Superseded Vivek Natarajan 2 participants 2 messages Mar 31, 2009 – Apr 13, 2009 Networking drivers (wireless)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: Disable autosleep feature for AR9285 based chipsets.

---
 drivers/net/wireless/ath9k/hw.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath9k/hw.c +2 -1
index b15eaf8..7d07f09 100644
@@ -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
#1 lore raw
Quoted 10 lines · Vivek Natarajan
---
 drivers/net/wireless/ath9k/hw.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath9k/hw.c +0 -0
index b15eaf8..7d07f09 100644

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.