ath5k: remove ath5k_hw_get_capability(), don't use VEOL on AR5210
authorPavel Roskin <proski@gnu.org>
Thu, 21 Jul 2011 17:36:35 +0000 (13:36 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Jul 2011 13:51:15 +0000 (09:51 -0400)
commitc5f3f45c4934d7e7dc266092debe88628d2cbb5d
treeed1989172868b2e86f34064abcca1887b998bb9f
parentfabba0480637add5411b1dc59603cc71e3505a69
ath5k: remove ath5k_hw_get_capability(), don't use VEOL on AR5210

There are only two capabilities we need, and both are trivial to find.

ath5k_hw_hasbssidmask() is true on AR5212, but not on AR5210 or AR5211.

ath5k_hw_hasveol() is true on AR5211 and AR5212, but not on AR5210,
according to the HAL source.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.h
drivers/net/wireless/ath/ath5k/caps.c