summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
diff options
context:
space:
mode:
authorDavid Spinadel <david.spinadel@intel.com>2013-07-23 14:13:32 +0300
committerJohannes Berg <johannes.berg@intel.com>2013-07-24 09:29:08 +0200
commitbb963c4a43eb5127eb0bbfa16c7a6a209b0af5db (patch)
tree1a20507f8a4cf1999296986f6135da0d3d9c751b /drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
parent5312e54d7e8bfe9716a1ffbc50e0093aadde46b8 (diff)
downloadlwn-bb963c4a43eb5127eb0bbfa16c7a6a209b0af5db.tar.gz
lwn-bb963c4a43eb5127eb0bbfa16c7a6a209b0af5db.zip
iwlwifi: mvm: set SSID bits for passive channels
Set SSID bitmap for direct scan even on passive channels, for the passive-to-active feature. Without this patch only the SSID from probe request template is sent on passive channels, after passive-to-active switching, causing us to not find all desired networks. Remove the unused passive scan mask constant. Cc: stable@vger.kernel.org Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: David Spinadel <david.spinadel@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
index b60d14151721..365095a0c3b3 100644
--- a/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
+++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
@@ -69,7 +69,6 @@
/* Scan Commands, Responses, Notifications */
/* Masks for iwl_scan_channel.type flags */
-#define SCAN_CHANNEL_TYPE_PASSIVE 0
#define SCAN_CHANNEL_TYPE_ACTIVE BIT(0)
#define SCAN_CHANNEL_NARROW_BAND BIT(22)