]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: remove code duplication in phy error counter handling
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Oct 2010 18:09:48 +0000 (20:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Oct 2010 20:30:39 +0000 (16:30 -0400)
commit9b0f123e226b8a056a67736723485d674e9d6d6e
treeda3df924032d0a3088e3abd38a449bf45446da4a
parent17688baa5fb69e122a107494acec116df862d4aa
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>
drivers/net/wireless/ath/ath9k/ani.c
drivers/net/wireless/ath/ath9k/hw-ops.h
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c