]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/p2p_supplicant.c
P2P: Avoid concurrent scans during all steps of group formation
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 11 Feb 2013 10:21:03 +0000 (12:21 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 11 Feb 2013 10:21:03 +0000 (12:21 +0200)
commitec01d5f6b0bec5f02960b910b78f860a6d0189ad
tree206b1b6472c9dc0eee6da8ca813fbd4a83fb9659
parent77dfafd07d3a0335e250b8ffaf74fe7b3714b0bc
P2P: Avoid concurrent scans during all steps of group formation

Previously, only some P2P states were considered to postpone concurrent
station mode scans during group formation. Especially the WPS
provisioning step was skipped due to issues to scans run on the P2P
client interface (see commit fc6997b345d97c80965725b12c52b0d225f32a1a).
This is not ideal since a concurrent scan can slow down group formation
considerably and potentially make it time out. Enforce p2p-in-progress
through all steps of group formation on another interface to address
this.

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