diff options
author | 2009-02-10 15:19:04 -0800 | |
---|---|---|
committer | 2009-02-13 13:46:08 -0500 | |
commit | a89d03c4230beb50756c98d2d1ba036c83da7680 (patch) | |
tree | 34cc30f3840f55ccc12431bc0c2429691e3db643 /drivers/net/wireless/iwlwifi/iwl-eeprom.h | |
parent | iwlwifi: drop PCIe workaround applicable for development boards (diff) | |
download | linux-a89d03c4230beb50756c98d2d1ba036c83da7680.tar.gz linux-a89d03c4230beb50756c98d2d1ba036c83da7680.tar.bz2 linux-a89d03c4230beb50756c98d2d1ba036c83da7680.zip |
iwlwifi: fix FAT channel config for 5000 series
The test to find out if we have FAT channels do not consider that
the value of regulatory_bands for the 5000 series is larger than its
eeprom size. Using the eeprom size is strange in itself.
Use a new EEPROM_REGULATORY_BAND_NO_FAT to indicate no FAT support
and test for that explicitly.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index 17fed49f9d96..3479153d96ca 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h @@ -370,6 +370,8 @@ struct iwl_eeprom_calib_info { */ #define EEPROM_4965_REGULATORY_BAND_52_FAT_CHANNELS (2*0xA8) /* 22 bytes */ +#define EEPROM_REGULATORY_BAND_NO_FAT (0) + struct iwl_eeprom_ops { const u32 regulatory_bands[7]; int (*verify_signature) (struct iwl_priv *priv); |