diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-28 10:06:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 11:09:16 -0700 |
commit | 8e5ad4d847e303d1d523c87566edfc58a67e05c0 (patch) | |
tree | 7bef7d15af1bba88baa0b6a18bda166ecc68e160 | |
parent | 21b2bf38c8c49bd8a2b41676f51be82ab228d711 (diff) | |
download | lwn-8e5ad4d847e303d1d523c87566edfc58a67e05c0.tar.gz lwn-8e5ad4d847e303d1d523c87566edfc58a67e05c0.zip |
ath9k: enable serialize_regmode for non-PCIE AR9160
commit 4c85ab11ca56da1aa59b58c80cc6a356515cc645 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 3 |
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 c33f17dbe6f1..10419658d03a 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -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 { |