P2P: Inviting a p2p device from already running persistent p2p go

Neeraj Kumar Garg neerajkg
Fri Oct 21 00:21:47 PDT 2011


Hello,
Below is the command sequence, which creates a problem with current supplicant code if a persistent GO is already running and want to invite a P2P device for the same persistent connection.
 
Assume X is an entry in the wpa_supplicant.conf file for a persistent connection between P1(GO) and P2(Client).
P1: p2p_group_add persistent=X
P1: p2p_invite <P2P dev addr > persistent=X
 
In this case, the code in wpas_p2p_invite will try to create another group_interface but will fail as we are already running a persistent GO. The patch will ensure that if we are already running the same GO with same credentials, we should just proceed for an invite without creating an interface.
 



More information about the Hostap mailing list