ath9k: enable serialize_regmode for non-PCIE AR9160
PATCH 1/1 ath9k: enable serialize_regmode for non-PCIE AR9160
https://bugzilla.kernel.org/show_bug.cgi?id=16476
Signed-off-by John W. Linville <[email protected]>
---
Is there a better (i.e. either more precise or more inclusive) test to be using here?
drivers/net/wireless/ath/ath9k/hw.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/hw.c +2 -1
@@ -537,7 +537,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)if (ah->config.serialize_regmode ==SER_REG_MODE_AUTO ) {if (ah->hw_version.macVersion ==AR_SREV_VERSION_5416_PCI || - (AR_SREV_9280 (ah) && !ah->is_pciexpress)) { + ((AR_SREV_9160 (ah) ||AR_SREV_9280 (ah)) && + !ah->is_pciexpress)) { ah->config.serialize_regmode =SER_REG_MODE_ON ; }else {
Signature · 1 line
1.7.1.1
PATCH 1/1 ath9k: enable serialize_regmode for non-PCIE AR9160
Quoted 3 lines · John W. Linville
https://bugzilla.kernel.org/show_bug.cgi?id=16476
Signed-off-by John W. Linville <[email protected]>
Wow nice find, thanks!
Quoted 3 lines
---
Is there a better (i.e. either more precise or more inclusive) test to be using here?
This is fine unless there is an AR9160 that is AHB, Felix would know. Also if you can Cc stable, that would be appreciated
Luis
Quoted 24 lines
drivers/net/wireless/ath/ath9k/hw.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)drivers/net/wireless/ath/ath9k/hw.c +2
-1@@ -537,7 +537,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)if (ah->config.serialize_regmode ==SER_REG_MODE_AUTO ) {if (ah->hw_version.macVersion ==AR_SREV_VERSION_5416_PCI || - (AR_SREV_9280 (ah) && !ah->is_pciexpress)) { + ((AR_SREV_9160 (ah) ||AR_SREV_9280 (ah)) && + !ah->is_pciexpress)) { ah->config.serialize_regmode =SER_REG_MODE_ON ; }else {Signature · 6 lines
1.7.1.1 _______________________________________________ ath9k-devel mailing list ath9k-devel at lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel