]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: stop scan before connection
authorDavid Spinadel <david.spinadel@intel.com>
Tue, 17 Mar 2015 17:58:38 +0000 (19:58 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Mar 2015 08:19:13 +0000 (10:19 +0200)
commit1bf2fe09153004330c3300d1eb2a62c3aed9f835
treee43608fe1328d857965f6ff2ac3c9fca605cff20
parent931d351e387c7d90405fe27a07f06ae4b7de3ae6
mac80211: stop scan before connection

Stop scan before authentication or association to make sure
that nothing interferes with connection flow.

Currently mac80211 defers RX auth and assoc packets (among other ones)
until after the scan is complete, so auth during scan is likely to fail
if scan took too much time.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c