aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-07-28 10:06:35 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-29 12:46:45 -0400
commit4c85ab11ca56da1aa59b58c80cc6a356515cc645 (patch)
treeb3ade66729d16095ba9d07949124ce576a177d9a /drivers/net/wireless
parent4552124543141debf40a94b67155e57aa6bb34d6 (diff)
ath9k: enable serialize_regmode for non-PCIE AR9160
https://bugzilla.kernel.org/show_bug.cgi?id=16476 Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: stable@kernel.org
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 2f83f975b891..8d291ccf5c88 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -532,7 +532,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)
532 532
533 if (ah->config.serialize_regmode == SER_REG_MODE_AUTO) { 533 if (ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
534 if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI || 534 if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
535 (AR_SREV_9280(ah) && !ah->is_pciexpress)) { 535 ((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
536 !ah->is_pciexpress)) {
536 ah->config.serialize_regmode = 537 ah->config.serialize_regmode =
537 SER_REG_MODE_ON; 538 SER_REG_MODE_ON;
538 } else { 539 } else {