Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159419
b: refs/heads/master
c: e70c0cf
h: refs/heads/master
i:
  159417: 70469bf
  159415: bd79a9d
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent 0463bfa commit 6bae367
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 081b35ab2e98a2f76d0378219e91cd1c90aed55f
refs/heads/master: e70c0cfdbf98384d9ce0b7a7332b6e60ec22ad54
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/ani.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ath/ath9k/ani.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6bae367

Please sign in to comment.