Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159410
b: refs/heads/master
c: 50aca25
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent 1d5f0fc commit 1a1f7ac
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: f9d4a668035b0bf65d1c8d5eba680201112f7c3d
refs/heads/master: 50aca25b5824f29fa94417abadf82ee7f0c7f816
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 @@ -437,7 +437,7 @@ static void ath9k_hw_set_defaults(struct ath_hw *ah)
ah->config.serialize_regmode = SER_REG_MODE_AUTO;
}

static void ath9k_hw_newstate(struct ath_hw *ah)
static void ath9k_hw_init_defaults(struct ath_hw *ah)
{
ah->hw_version.magic = AR5416_MAGIC;
ah->regulatory.country_code = CTRY_DEFAULT;
Expand Down Expand Up @@ -654,7 +654,7 @@ int ath9k_hw_attach(struct ath_hw *ah)
goto bad;
}

ath9k_hw_newstate(ah);
ath9k_hw_init_defaults(ah);
ath9k_hw_set_defaults(ah);

if (!ath9k_hw_set_reset_reg(ah, ATH9K_RESET_POWER_ON)) {
Expand Down

0 comments on commit 1a1f7ac

Please sign in to comment.