diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-04-13 01:04:33 -0700 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-16 13:54:06 -0700 |
commit | fa58b6a3b34944bb9fc0129ba2534bd91d082d61 (patch) | |
tree | 35317378ff0288e6e4c6a8bb6a4929951599b493 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |
parent | b2e8690d5a4d1868ee12f50aa00c138bec985b3c (diff) | |
download | kernel_samsung_smdk4412-fa58b6a3b34944bb9fc0129ba2534bd91d082d61.zip kernel_samsung_smdk4412-fa58b6a3b34944bb9fc0129ba2534bd91d082d61.tar.gz kernel_samsung_smdk4412-fa58b6a3b34944bb9fc0129ba2534bd91d082d61.tar.bz2 |
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/iwl-agn-lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index 2d00e83..ccf3357 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c @@ -1458,8 +1458,6 @@ void iwlagn_request_scan(struct iwl_priv *priv) } scan->tx_cmd.len = cpu_to_le16(cmd_len); - if (iwl_is_monitor_mode(priv)) - scan->filter_flags = RXON_FILTER_PROMISC_MSK; scan->filter_flags |= (RXON_FILTER_ACCEPT_GRP_MSK | RXON_FILTER_BCON_AWARE_MSK); |