summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-04-13 01:04:33 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-04-16 13:54:06 -0700
commitfa58b6a3b34944bb9fc0129ba2534bd91d082d61 (patch)
tree35317378ff0288e6e4c6a8bb6a4929951599b493 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parentb2e8690d5a4d1868ee12f50aa00c138bec985b3c (diff)
downloadlinux-fa58b6a3b34944bb9fc0129ba2534bd91d082d61.tar.gz
linux-fa58b6a3b34944bb9fc0129ba2534bd91d082d61.tar.bz2
linux-fa58b6a3b34944bb9fc0129ba2534bd91d082d61.zip
iwlwifi: don't check monitor for scanning
Monitor mode operation need not (and probably should not) affect scanning this way since real monitoring can not properly happen while scanning anyway. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 64b20e78376e..e7263ed693c4 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -2963,9 +2963,6 @@ void iwl3945_request_scan(struct iwl_priv *priv)
/* select Rx antennas */
scan->flags |= iwl3945_get_antenna_flags(priv);
- if (iwl_is_monitor_mode(priv))
- scan->filter_flags = RXON_FILTER_PROMISC_MSK;
-
scan->channel_count =
iwl3945_get_channels_for_scan(priv, band, is_active, n_probes,
(void *)&scan->data[le16_to_cpu(scan->tx_cmd.len)]);