提交 50aca25b 编写于 作者: L Luis R. Rodriguez 提交者: John W. Linville

ath9k: rename ath9k_hw_newstate() to ath9k_hw_init_defaults()

This reflects better what we are actually doing there.
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 f9d4a668
......@@ -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;
......@@ -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)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册