]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06321ecbdf05e7dbff1c3f55131436b1db0555e2
treeed1989172868b2e86f34064abcca1887b998bb9f
parentaf022b7b64c21e87fca8f6fa3f076b834412339d
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