ath9k_hw: remove function pointer abstraction for internal ANI ops
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Oct 2010 18:09:49 +0000 (20:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Oct 2010 20:30:39 +0000 (16:30 -0400)
commit8eb4980c33c35e97a0a226fdbc07e38da0f1f4aa
treef3e4b3a36d97f9fce5e8919489fa7a929b9941d3
parentbfc472bb736bf309158ea76897d255a283d0d31c
ath9k_hw: remove function pointer abstraction for internal ANI ops

The code gets more concise and readable when making the new ANI functions
fall back to the old ones if ANI v2 is disabled. This also makes further code
cleanup easier.

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