summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
authorGuy Cohen <guy.cohen@intel.com>2008-04-22 00:41:56 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 21:02:16 +0200
commitfe7c4040c3d8b7de521e9a48ae583580f8e31127 (patch)
tree465e81b91c05544300b697d71889cbcf9ad6e333 /drivers/net/wireless/iwlwifi/iwl4965-base.c
parentiwlwifi: remove uneeded callback (diff)
downloadlinux-fe7c4040c3d8b7de521e9a48ae583580f8e31127.tar.xz
linux-fe7c4040c3d8b7de521e9a48ae583580f8e31127.zip
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 '')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 11339efa273b..6309f08c3a13 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -4392,9 +4392,6 @@ static int iwl4965_get_channels_for_scan(struct iwl_priv *priv,
if (scan_ch->type & 1)
scan_ch->type |= (direct_mask << 1);
- if (is_channel_narrow(ch_info))
- scan_ch->type |= (1 << 7);
-
scan_ch->active_dwell = cpu_to_le16(active_dwell);
scan_ch->passive_dwell = cpu_to_le16(passive_dwell);