diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-08-03 15:24:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:29 -0400 |
commit | b8b0f377c762558b3773e27f73c7bbcd0fa40171 (patch) | |
tree | 9fc205deaabb46f9c02cc033cd18847a0a7d4624 | |
parent | 50aca25b5824f29fa94417abadf82ee7f0c7f816 (diff) |
ath9k: rename ath9k_hw_set_defaults() to ath9k_hw_init_config()
This reflects better what we are actually doing there.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 6aee57065c7b..31ec83dfddd5 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -388,7 +388,7 @@ static const char *ath9k_hw_devname(u16 devid) | |||
388 | return NULL; | 388 | return NULL; |
389 | } | 389 | } |
390 | 390 | ||
391 | static void ath9k_hw_set_defaults(struct ath_hw *ah) | 391 | static void ath9k_hw_init_config(struct ath_hw *ah) |
392 | { | 392 | { |
393 | int i; | 393 | int i; |
394 | 394 | ||
@@ -655,7 +655,7 @@ int ath9k_hw_attach(struct ath_hw *ah) | |||
655 | } | 655 | } |
656 | 656 | ||
657 | ath9k_hw_init_defaults(ah); | 657 | ath9k_hw_init_defaults(ah); |
658 | ath9k_hw_set_defaults(ah); | 658 | ath9k_hw_init_config(ah); |
659 | 659 | ||
660 | if (!ath9k_hw_set_reset_reg(ah, ATH9K_RESET_POWER_ON)) { | 660 | if (!ath9k_hw_set_reset_reg(ah, ATH9K_RESET_POWER_ON)) { |
661 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, "Couldn't reset chip\n"); | 661 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, "Couldn't reset chip\n"); |