ath9k: rename ath9k_hw_ani_detach() to ath9k_hw_ani_disable()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 3 Aug 2009 19:24:51 +0000 (12:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:32 +0000 (16:44 -0400)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c
drivers/net/wireless/ath/ath9k/ani.h
drivers/net/wireless/ath/ath9k/hw.c

index a613cf46eebc68fdba6d0c827ac877f97b3c4c4f..b7093126dbb8c9f0ecda612f39cb5d688952bf7d 100644 (file)
@@ -822,9 +822,9 @@ void ath9k_hw_ani_init(struct ath_hw *ah)
                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) {
                ath9k_hw_disable_mib_counters(ah);
index 803669faaadea7abf9c3681e1142d3c47d1f6737..a36b7bb7c42a0acc2c752545f5b372fcdad4bf87 100644 (file)
@@ -133,6 +133,6 @@ void ath9k_hw_procmibevent(struct ath_hw *ah,
                           const struct ath9k_node_stats *stats);
 void ath9k_hw_ani_setup(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 */
index 73dee19e887088d34a274f015bdca7fb656c8dc0..6641fbedd6d0fc60d3acac68e5fa053d8188b3cb 100644 (file)
@@ -1227,7 +1227,7 @@ const char *ath9k_hw_probe(u16 vendorid, u16 devid)
 void ath9k_hw_detach(struct ath_hw *ah)
 {
        if (!AR_SREV_9100(ah))
-               ath9k_hw_ani_detach(ah);
+               ath9k_hw_ani_disable(ah);
 
        ath9k_hw_rf_free(ah);
        ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);