aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.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/iwl3945-base.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/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 7bdffa9cfea6..67fd267c99ca 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -4841,7 +4841,7 @@ static int iwl3945_init_channel_map(struct iwl3945_priv *priv)
4841 ch_info->scan_power = eeprom_ch_info[ch].max_power_avg; 4841 ch_info->scan_power = eeprom_ch_info[ch].max_power_avg;
4842 ch_info->min_power = 0; 4842 ch_info->min_power = 0;
4843 4843
4844 IWL_DEBUG_INFO("Ch. %d [%sGHz] %s%s%s%s%s%s%s(0x%02x" 4844 IWL_DEBUG_INFO("Ch. %d [%sGHz] %s%s%s%s%s%s(0x%02x"
4845 " %ddBm): Ad-Hoc %ssupported\n", 4845 " %ddBm): Ad-Hoc %ssupported\n",
4846 ch_info->channel, 4846 ch_info->channel,
4847 is_channel_a_band(ch_info) ? 4847 is_channel_a_band(ch_info) ?
@@ -4851,7 +4851,6 @@ static int iwl3945_init_channel_map(struct iwl3945_priv *priv)
4851 CHECK_AND_PRINT(ACTIVE), 4851 CHECK_AND_PRINT(ACTIVE),
4852 CHECK_AND_PRINT(RADAR), 4852 CHECK_AND_PRINT(RADAR),
4853 CHECK_AND_PRINT(WIDE), 4853 CHECK_AND_PRINT(WIDE),
4854 CHECK_AND_PRINT(NARROW),
4855 CHECK_AND_PRINT(DFS), 4854 CHECK_AND_PRINT(DFS),
4856 eeprom_ch_info[ch].flags, 4855 eeprom_ch_info[ch].flags,
4857 eeprom_ch_info[ch].max_power_avg, 4856 eeprom_ch_info[ch].max_power_avg,
@@ -4987,9 +4986,6 @@ static int iwl3945_get_channels_for_scan(struct iwl3945_priv *priv,
4987 if (scan_ch->type & 1) 4986 if (scan_ch->type & 1)
4988 scan_ch->type |= (direct_mask << 1); 4987 scan_ch->type |= (direct_mask << 1);
4989 4988
4990 if (is_channel_narrow(ch_info))
4991 scan_ch->type |= (1 << 7);
4992
4993 scan_ch->active_dwell = cpu_to_le16(active_dwell); 4989 scan_ch->active_dwell = cpu_to_le16(active_dwell);
4994 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); 4990 scan_ch->passive_dwell = cpu_to_le16(passive_dwell);
4995 4991