diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-06-18 14:32:20 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-18 23:11:14 +0400 |
commit | 543708be320d7df692d24b349ca01a947b340764 (patch) | |
tree | 7ca928290eb276ea25afbc6b12d8d8f63dfea167 /drivers/net/wireless/iwlwifi/iwl-agn-tx.c | |
parent | 8223d2f540c96f46f762fbd93f59a08bb80601c1 (diff) | |
download | linux-543708be320d7df692d24b349ca01a947b340764.tar.xz |
mac80211: fix sw scan bracketing
Currently, detection in hwsim and ath9k can
detect that two sw scans are in flight at the
same time, which isn't really true. It is
caused by a race condition, because the scan
complete callback is called too late, after
the lock has been dropped, so that a new scan
can be started before it is called.
It is also called too early semantically, as
it is currently called _after_ the return to
the operating channel -- it should be before
so that drivers know this is the operating
channel again.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-tx.c')
0 files changed, 0 insertions, 0 deletions