iwlwifi: mvm: don't wait for scan stopped work when cancelling scans
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 20 Mar 2015 06:59:56 +0000 (08:59 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:12:48 +0000 (13:12 +0300)
commitbd9564da3dd2ab96c34f9dce4fd546f6c2fb08a1
tree5eee3a663ec5d1938762c828ce7ceb73765783b4
parent9af91f466369cb9d70fc6561b19f12138e97ff35
iwlwifi: mvm: don't wait for scan stopped work when cancelling scans

Now that we have separate flags for stopping scans, we don't need to
wait for the scan stopped work to complete before starting the new
scan.  Previously we needed it because we had no way of distinguishing
the scan that was being stopped from the scan that was currently
running.  With the new flags there won't be any confusions and we are
able to handle the stop for the correct type of scan.

Thus we can remove the iwl_mvm_cancel_scan_wait_notif() function.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c