diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-04 14:09:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-06 16:30:39 -0400 |
commit | bfc472bb736bf309158ea76897d255a283d0d31c (patch) | |
tree | da3df924032d0a3088e3abd38a449bf45446da4a /drivers/net/wireless/ath/ath9k/main.c | |
parent | 093115b7fd641f03d89404252044c976928764cb (diff) |
ath9k_hw: remove code duplication in phy error counter handling
Split out the PHY error counter update from ath9k_hw_ani_monitor_*, reuse
it in ath9k_hw_proc_mib_event (merged from ath9k_hw_proc_mib_event_old
and ath9k_hw_proc_mib_event_new).
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index e6ddf45506be..d9c2e2d93136 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -713,7 +713,7 @@ irqreturn_t ath_isr(int irq, void *dev) | |||
713 | * it will clear whatever condition caused | 713 | * it will clear whatever condition caused |
714 | * the interrupt. | 714 | * the interrupt. |
715 | */ | 715 | */ |
716 | ath9k_hw_procmibevent(ah); | 716 | ath9k_hw_proc_mib_event(ah); |
717 | ath9k_hw_set_interrupts(ah, ah->imask); | 717 | ath9k_hw_set_interrupts(ah, ah->imask); |
718 | } | 718 | } |
719 | 719 | ||