iwlwifi: mvm: use only 40 ms for fragmented scan
authorDavid Spinadel <david.spinadel@intel.com>
Sun, 15 Feb 2015 12:45:33 +0000 (14:45 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 2 Mar 2015 06:20:27 +0000 (08:20 +0200)
20 ms fragments are no longer required by system.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c

index ca3a18764ab140f3dcc728936963c6c25eb06994..c8377e1e0c8b392020d684a9527cab63be23b31f 100644 (file)
@@ -230,7 +230,7 @@ static void iwl_mvm_scan_calc_params(struct iwl_mvm *mvm,
                         * If there is more than one active interface make
                         * passive scan more fragmented.
                         */
-                       frag_passive_dwell = (global_cnt < 2) ? 40 : 20;
+                       frag_passive_dwell = 40;
                        params->max_out_time = frag_passive_dwell;
                } else {
                        params->suspend_time = 120;