P2P: Allow scan operations during p2p_find
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Aug 2012 16:42:53 +0000 (19:42 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Aug 2012 16:42:53 +0000 (19:42 +0300)
commit99fcd404091a90317f6619e466f544ee32128a23
tree111986c2315038ecc5f646d2ca2bbb26d6f30e32
parent05a77b3b46eff4aaf2bc7526f56b2fa0dbbc5f1e
P2P: Allow scan operations during p2p_find

Previously, all station mode scan operations were either skipped or
delayed while any P2P operation was in progress. To make concurrent
operations easier to use, reduce this limitation by allowing a scan
operation to be completed in the middle of a p2p_find. In addition,
allow station mode association to be completed. When the station mode
operation is run to its completion (scan results not acted on,
connection to an AP completed, connection failed), resume the p2p_find
operation.

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/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h