]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa752a39db67c55ee1cf653cb70d4f842befaf19
tree5eee3a663ec5d1938762c828ce7ceb73765783b4
parent71720241aa258abc7302eb72b10ced1a621549da
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