Do not start wpa_radio work during externally triggered scan
authorJouni Malinen <j@w1.fi>
Sat, 4 Jan 2014 08:33:14 +0000 (10:33 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 08:45:10 +0000 (10:45 +0200)
commit6428d0a71f1d6bf5542930eaa1b0512830646c5f
tree76226f4b60c119772ba91c7bb715cae8a0a09deb
parent7c0d8645a18018a36c3bcdec53ba9c663324a1ae
Do not start wpa_radio work during externally triggered scan

If an external program triggers a scan, wpa_supplicant does not have a
wpa_radio work item for this operation to protect against other
offchannel operations. This can result in operations failing, so try to
avoid damage by not starting any new wpa_radio work items during a scan
that was started by another process.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h