diff options
author | Senthil Balasubramanian <senthilkumar@atheros.com> | 2008-12-08 09:13:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 13:48:27 -0500 |
commit | 2df1bff4c5cd0b28e06e4defc3f5d90618db8d53 (patch) | |
tree | d5f92ccc0b042a7d38afeb764aec502b63fb50d4 /drivers/net/wireless/ath9k/hw.h | |
parent | e7594072a5b918510c937c1ab0acad4e8a931bc7 (diff) |
ath9k: Incorrect band enum causes invalid antenna configuration.
It's a regression from the patch titled "ath9k: Use mac80211's band
macros and remove enum hal_freq_band". MAC80211 band macros can't be
mapped directly with our hal band enum.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/hw.h b/drivers/net/wireless/ath9k/hw.h index a4d52850bdd0..91d8f594af81 100644 --- a/drivers/net/wireless/ath9k/hw.h +++ b/drivers/net/wireless/ath9k/hw.h | |||
@@ -495,6 +495,11 @@ enum ar5416_rates { | |||
495 | Ar5416RateSize | 495 | Ar5416RateSize |
496 | }; | 496 | }; |
497 | 497 | ||
498 | enum ath9k_hal_freq_band { | ||
499 | ATH9K_HAL_FREQ_BAND_5GHZ = 0, | ||
500 | ATH9K_HAL_FREQ_BAND_2GHZ = 1 | ||
501 | }; | ||
502 | |||
498 | struct base_eep_header { | 503 | struct base_eep_header { |
499 | u16 length; | 504 | u16 length; |
500 | u16 checksum; | 505 | u16 checksum; |