]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/p2p_supplicant.c
P2P: Postpone concurrent scans when waiting for first client as GO
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 27 Aug 2013 09:23:10 +0000 (12:23 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 27 Aug 2013 09:23:10 +0000 (12:23 +0300)
commitc1c0b35fea656345b672984910cc3b93938bc5e5
treed933574f4dc9da950975c44568004e588bb5b731
parentdcfb4d652a6b34669d34426c68c2b5ecfc6193b7
P2P: Postpone concurrent scans when waiting for first client as GO

Previously, concurrent station mode scans were postponed during an
ongoing P2P group formation up to the point of completed WPS
provisioning step. This would allow a scan to be started before the P2P
client has completed association for the data connection if a scan
request were timed to hit the window between the provisioning step and
the following association. Avoid this by extending P2P-in-progress state
to continue until the first data connection has been completed as part
of group formation. Use a ten second timeout for this to avoid leaving
scans disabled indefinitely if the client fails to connect completely.

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