iwlwifi: mvm: small fix in a comment about UMAC scan schedules
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 25 May 2015 06:36:53 +0000 (09:36 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:32:34 +0000 (13:32 +0300)
The UMAC API supports multiple scan schedules, but now we use only a
single one.  Change the comment to make this clear and avoid
confusion.

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

index e50fd3f..e54432a 100644 (file)
@@ -1222,8 +1222,8 @@ static int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
        iwl_mvm_umac_scan_cfg_channels(mvm, params->channels,
                                       params->n_channels, ssid_bitmap, cmd);
 
-       /* With UMAC we can have only one schedule, so use the sum of
-        * the iterations (with a a maximum of 255).
+       /* With UMAC we use only one schedule for now, so use the sum
+        * of the iterations (with a a maximum of 255).
         */
        sec_part->schedule[0].iter_count =
                (n_iterations > 255) ? 255 : n_iterations;