]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath9k_hw: clean up SREV version checks
authorFelix Fietkau <nbd@openwrt.org>
Sat, 11 Dec 2010 23:51:12 +0000 (00:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Dec 2010 20:23:31 +0000 (15:23 -0500)
commit6da5a720bab3866ba23a37841f6a61d96e498a3f
tree3307786efb42fde60c3fc81da13e59752cf34038
parentdf3c8b2b10b47429d2f3fe79d00daa38a3381aad
ath9k_hw: clean up SREV version checks

There's no need to have separate callbacks for pre-AR9003 vs AR9003
SREV version checks, so just merge those into one function.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_hw.c
drivers/net/wireless/ath/ath9k/ar9003_hw.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h