Avoid network selection from scan during connection
authorArik Nemtsov <arik@wizery.com>
Thu, 10 Dec 2015 10:56:04 +0000 (12:56 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 17 Dec 2015 22:24:52 +0000 (00:24 +0200)
commit706e11a485cef327c4de884664b8e72c8a1e6913
treec8bf57994842238434e292b096a7f1af6c85409e
parent819ad5b70b0cb2d3ed64c11aa4cbf11c9a3fc698
Avoid network selection from scan during connection

If scan results arrive during the connection process, the network
selection function was called, interrupting the current connection.
While a regular scan is mutually exclusive with connection establishment
via the nature of radio work, there's no such protection for scheduled
scan. Prevent network selection while a connection is in progress.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
wpa_supplicant/events.c