aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-eeprom.c
diff options
context:
space:
mode:
authorGuy Cohen <guy.cohen@intel.com>2008-04-21 18:41:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:16 -0400
commitfe7c4040c3d8b7de521e9a48ae583580f8e31127 (patch)
tree465e81b91c05544300b697d71889cbcf9ad6e333 /drivers/net/wireless/iwlwifi/iwl-eeprom.c
parent9e5b806ce3f3943964d3f95415a21223c1983933 (diff)
iwlwifi: remove support for Narrow Channel (10Mhz)
Setting Narrow Channel bit in the scan command caused the device not to send probe request on all the channels Signed-off-by: Guy Cohen <guy.cohen@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-eeprom.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c
index a436f877882b..efd48ca27a8e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c
+++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c
@@ -377,7 +377,7 @@ static int iwl4965_set_fat_chan_info(struct iwl_priv *priv,
377 if (!is_channel_valid(ch_info)) 377 if (!is_channel_valid(ch_info))
378 return -1; 378 return -1;
379 379
380 IWL_DEBUG_INFO("FAT Ch. %d [%sGHz] %s%s%s%s%s%s(0x%02x" 380 IWL_DEBUG_INFO("FAT Ch. %d [%sGHz] %s%s%s%s%s(0x%02x"
381 " %ddBm): Ad-Hoc %ssupported\n", 381 " %ddBm): Ad-Hoc %ssupported\n",
382 ch_info->channel, 382 ch_info->channel,
383 is_channel_a_band(ch_info) ? 383 is_channel_a_band(ch_info) ?
@@ -386,7 +386,6 @@ static int iwl4965_set_fat_chan_info(struct iwl_priv *priv,
386 CHECK_AND_PRINT(ACTIVE), 386 CHECK_AND_PRINT(ACTIVE),
387 CHECK_AND_PRINT(RADAR), 387 CHECK_AND_PRINT(RADAR),
388 CHECK_AND_PRINT(WIDE), 388 CHECK_AND_PRINT(WIDE),
389 CHECK_AND_PRINT(NARROW),
390 CHECK_AND_PRINT(DFS), 389 CHECK_AND_PRINT(DFS),
391 eeprom_ch->flags, 390 eeprom_ch->flags,
392 eeprom_ch->max_power_avg, 391 eeprom_ch->max_power_avg,
@@ -490,7 +489,7 @@ int iwl_init_channel_map(struct iwl_priv *priv)
490 ch_info->scan_power = eeprom_ch_info[ch].max_power_avg; 489 ch_info->scan_power = eeprom_ch_info[ch].max_power_avg;
491 ch_info->min_power = 0; 490 ch_info->min_power = 0;
492 491
493 IWL_DEBUG_INFO("Ch. %d [%sGHz] %s%s%s%s%s%s%s(0x%02x" 492 IWL_DEBUG_INFO("Ch. %d [%sGHz] %s%s%s%s%s%s(0x%02x"
494 " %ddBm): Ad-Hoc %ssupported\n", 493 " %ddBm): Ad-Hoc %ssupported\n",
495 ch_info->channel, 494 ch_info->channel,
496 is_channel_a_band(ch_info) ? 495 is_channel_a_band(ch_info) ?
@@ -500,7 +499,6 @@ int iwl_init_channel_map(struct iwl_priv *priv)
500 CHECK_AND_PRINT_I(ACTIVE), 499 CHECK_AND_PRINT_I(ACTIVE),
501 CHECK_AND_PRINT_I(RADAR), 500 CHECK_AND_PRINT_I(RADAR),
502 CHECK_AND_PRINT_I(WIDE), 501 CHECK_AND_PRINT_I(WIDE),
503 CHECK_AND_PRINT_I(NARROW),
504 CHECK_AND_PRINT_I(DFS), 502 CHECK_AND_PRINT_I(DFS),
505 eeprom_ch_info[ch].flags, 503 eeprom_ch_info[ch].flags,
506 eeprom_ch_info[ch].max_power_avg, 504 eeprom_ch_info[ch].max_power_avg,