iwlwifi: mvm: use proper scan type for P2P
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 20 May 2013 05:59:31 +0000 (08:59 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 May 2013 11:30:57 +0000 (13:30 +0200)
It was set to be FORCED because of a firmware bug which
has been fixed.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c

index 2476e43..2157b0f 100644 (file)
@@ -298,12 +298,6 @@ int iwl_mvm_scan_request(struct iwl_mvm *mvm,
        else
                cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);
 
-       /*
-        * TODO: This is a WA due to a bug in the FW AUX framework that does not
-        * properly handle time events that fail to be scheduled
-        */
-       cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);
-
        cmd->repeats = cpu_to_le32(1);
 
        /*