iwlagn: no 5.2GHz/HT40 support for bgn devices
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 6 Apr 2011 22:55:27 +0000 (15:55 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 18 Apr 2011 16:31:29 +0000 (09:31 -0700)
For bgn devices, there were no HT40 channels value in EEPROM

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-1000.c
drivers/net/wireless/iwlwifi/iwl-2000.c

index 946c7dca440a7293fc8bd12d7632e45f934f715f..a01871801e53352ae9f66f363293f6454c0adc10 100644 (file)
@@ -195,7 +195,7 @@ static struct iwl_lib_ops iwl1000_lib = {
                        EEPROM_REG_BAND_4_CHANNELS,
                        EEPROM_REG_BAND_5_CHANNELS,
                        EEPROM_REG_BAND_24_HT40_CHANNELS,
-                       EEPROM_REG_BAND_52_HT40_CHANNELS
+                       EEPROM_REGULATORY_BAND_NO_HT40,
                },
                .acquire_semaphore = iwlcore_eeprom_acquire_semaphore,
                .release_semaphore = iwlcore_eeprom_release_semaphore,
index c8bb4a4930dfffabf232ec7caf3119640983a236..0bd9b146bb940411948ce7014bddd96f2c4ae379 100644 (file)
@@ -278,7 +278,7 @@ static struct iwl_lib_ops iwl2000_lib = {
                        EEPROM_REG_BAND_4_CHANNELS,
                        EEPROM_REG_BAND_5_CHANNELS,
                        EEPROM_6000_REG_BAND_24_HT40_CHANNELS,
-                       EEPROM_REG_BAND_52_HT40_CHANNELS
+                       EEPROM_REGULATORY_BAND_NO_HT40,
                },
                .acquire_semaphore = iwlcore_eeprom_acquire_semaphore,
                .release_semaphore = iwlcore_eeprom_release_semaphore,