]> 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)
commit9c46e4d6bd97c518a7dc971a412b068fb2ca2c41
treee43608fe1328d857965f6ff2ac3c9fca605cff20
parent3416218ca2ddeaed00c600af462c50849ed3bbe5
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