Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236772
b: refs/heads/master
c: ac45c12
h: refs/heads/master
v: v3
  • Loading branch information
Senthil Balasubramanian authored and John W. Linville committed Jan 25, 2011
1 parent ea90b96 commit 9e75624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a4fdf2e0b9e3534f6ec4f3e7077470bd66924ab
refs/heads/master: ac45c12dfb3f727a5a7a3332ed9c11b4a5ab287e
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)
if (ah->hw_version.devid == AR5416_AR9100_DEVID)
ah->hw_version.macVersion = AR_SREV_VERSION_9100;

ath9k_hw_read_revisions(ah);

if (!ath9k_hw_set_reset_reg(ah, ATH9K_RESET_POWER_ON)) {
ath_err(common, "Couldn't reset chip\n");
return -EIO;
Expand Down Expand Up @@ -1079,8 +1081,6 @@ static bool ath9k_hw_set_reset_power_on(struct ath_hw *ah)
return false;
}

ath9k_hw_read_revisions(ah);

return ath9k_hw_set_reset(ah, ATH9K_RESET_WARM);
}

Expand Down

0 comments on commit 9e75624

Please sign in to comment.