]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Wait until ongoing scan completes before starting P2P find
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 15 Nov 2011 19:25:21 +0000 (21:25 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 15 Nov 2011 19:28:35 +0000 (21:28 +0200)
commit39185dfa549f076a6be114e0149a3649d302f477
treebe2e5c6c11e8f03786a58a284969c4994424c5f5
parent545cfc4bf34de70315da75c024602029d7f0a80e
P2P: Wait until ongoing scan completes before starting P2P find

The P2P_FIND command was failing if it was issued at the moment when
a scan operation was in progress. Avoid returning failure in this
case by scheduling the P2P find to start once the ongoing scan is
completed.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p.h
src/p2p/p2p_i.h
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h