]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8570fa3e36f3341a479933c87cb9d3105557d72a
treef3e4b3a36d97f9fce5e8919489fa7a929b9941d3
parent9b0f123e226b8a056a67736723485d674e9d6d6e
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