Skip to content

Commit

Permalink
ath9k: enable serialize_regmode for non-PCIE AR9160
Browse files Browse the repository at this point in the history
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
  • Loading branch information
John W. Linville committed Jul 29, 2010
1 parent 4552124 commit 4c85ab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,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 {
Expand Down

0 comments on commit 4c85ab1

Please sign in to comment.