P2P: Fix re-invoked client interface completion on data connection
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 4 Dec 2015 21:11:10 +0000 (23:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 4 Dec 2015 21:11:10 +0000 (23:11 +0200)
commitbf3214b59321f67375df1ee85722b2beb74e1f7a
tree80c907e7bde53f28f2338ad4e201445a976432fb
parent63502c64e13d35dad591c315c8606866d9e07bce
P2P: Fix re-invoked client interface completion on data connection

This was already working for the case where a separate group interface
is used due to the recent commit
328f49acfe961a212e89e750516d2e2cc320765f ('P2P: Complete group formation
on client data connection'). However, the case of no separate group
interface was used did not clear the interface state properly on data
connection. Fix this by setting the group formation information in
wpas_start_p2p_client().

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