Commit e70c0cfd authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

ath9k: rename ath9k_hw_ani_detach() to ath9k_hw_ani_disable()

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 081b35ab
...@@ -822,9 +822,9 @@ void ath9k_hw_ani_init(struct ath_hw *ah) ...@@ -822,9 +822,9 @@ void ath9k_hw_ani_init(struct ath_hw *ah)
ah->proc_phyerr |= HAL_PROCESS_ANI; ah->proc_phyerr |= HAL_PROCESS_ANI;
} }
void ath9k_hw_ani_detach(struct ath_hw *ah) void ath9k_hw_ani_disable(struct ath_hw *ah)
{ {
DPRINTF(ah->ah_sc, ATH_DBG_ANI, "Detach ANI\n"); DPRINTF(ah->ah_sc, ATH_DBG_ANI, "Disabling ANI\n");
if (ah->has_hw_phycounters) { if (ah->has_hw_phycounters) {
ath9k_hw_disable_mib_counters(ah); ath9k_hw_disable_mib_counters(ah);
......
...@@ -133,6 +133,6 @@ void ath9k_hw_procmibevent(struct ath_hw *ah, ...@@ -133,6 +133,6 @@ void ath9k_hw_procmibevent(struct ath_hw *ah,
const struct ath9k_node_stats *stats); const struct ath9k_node_stats *stats);
void ath9k_hw_ani_setup(struct ath_hw *ah); void ath9k_hw_ani_setup(struct ath_hw *ah);
void ath9k_hw_ani_init(struct ath_hw *ah); void ath9k_hw_ani_init(struct ath_hw *ah);
void ath9k_hw_ani_detach(struct ath_hw *ah); void ath9k_hw_ani_disable(struct ath_hw *ah);
#endif /* ANI_H */ #endif /* ANI_H */
...@@ -1227,7 +1227,7 @@ const char *ath9k_hw_probe(u16 vendorid, u16 devid) ...@@ -1227,7 +1227,7 @@ const char *ath9k_hw_probe(u16 vendorid, u16 devid)
void ath9k_hw_detach(struct ath_hw *ah) void ath9k_hw_detach(struct ath_hw *ah)
{ {
if (!AR_SREV_9100(ah)) if (!AR_SREV_9100(ah))
ath9k_hw_ani_detach(ah); ath9k_hw_ani_disable(ah);
ath9k_hw_rf_free(ah); ath9k_hw_rf_free(ah);
ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP); ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment