Skip to content

Commit

Permalink
ath9k: rename ath9k_hw_set_defaults() to ath9k_hw_init_config()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent 50aca25 commit b8b0f37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ static const char *ath9k_hw_devname(u16 devid)
return NULL;
}

static void ath9k_hw_set_defaults(struct ath_hw *ah)
static void ath9k_hw_init_config(struct ath_hw *ah)
{
int i;

Expand Down Expand Up @@ -655,7 +655,7 @@ int ath9k_hw_attach(struct ath_hw *ah)
}

ath9k_hw_init_defaults(ah);
ath9k_hw_set_defaults(ah);
ath9k_hw_init_config(ah);

if (!ath9k_hw_set_reset_reg(ah, ATH9K_RESET_POWER_ON)) {
DPRINTF(ah->ah_sc, ATH_DBG_FATAL, "Couldn't reset chip\n");
Expand Down

0 comments on commit b8b0f37

Please sign in to comment.