P2P: Set p2p_go_wait_client in invitation_result() cb
authorIlan Peer <ilan.peer@intel.com>
Sun, 22 Nov 2015 13:57:50 +0000 (15:57 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Nov 2015 19:46:43 +0000 (21:46 +0200)
commit6cbbae2cf8ae8380ed542e1bda72ec923697ea7a
tree744b66387014ceca8129607f75054a84dafce385
parent845d48c133acd0cad54bd99dda1541e76d41224f
P2P: Set p2p_go_wait_client in invitation_result() cb

When an invitation to join an existing group is accepted by the
peer device, set p2p_go_wait_client to the current time so
that wpas_p2p_in_progress() would return != 0, thus preventing
P2P CSA, scanning etc., that would interfere with the peer
device connection.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/p2p_supplicant.c