ath5k: eliminate CHANNEL_* macros, use AR5K_MODE_* in channel->hw_value
authorPavel Roskin <proski@gnu.org>
Sat, 23 Jul 2011 13:29:09 +0000 (09:29 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 20:03:59 +0000 (16:03 -0400)
commit32c254645f90a5a5486788c0deb30531fdb609c2
treeaea42daf095801158bc1177d4c9f8f3694d2e135
parent8d44a823c847c3d20e33c4c714ab48b700f41f14
ath5k: eliminate CHANNEL_* macros, use AR5K_MODE_* in channel->hw_value

When checking for the band, use channel->band.

Change ath5k_hw_nic_wakeup() and ath5k_channel_ok() to take
ieee80211_channel.  Change ath5k_hw_radio_revision() to take
ieee80211_band.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/eeprom.c
drivers/net/wireless/ath/ath5k/pcu.c
drivers/net/wireless/ath/ath5k/phy.c
drivers/net/wireless/ath/ath5k/qcu.c
drivers/net/wireless/ath/ath5k/reset.c