In my system, p2p-wlan0-x is the interface name for p2p group
is the integer value and is increasing for every new p2p group creation.
< P2P connection >
- P2PDevice.GONegotiationRequest is arrived on wlan0.
- After calling "Connect", the new interface for p2p group operation is
created on wpa-supplicant.
- WPS.Event is arrived on p2p-wlan0-x interface.
(wifi->p2p_connecting in wps_event() is false and is_p2p_connecting() is
That's what I imagine was happening. Now, we got the issue, let's solve this.
< wps sta pbc connection >
- WPS.Event is arrrived on wlan0 interface.
The second idea is good, but it looks better checking p2p connecting. :)
It is simpler but I am not sure it is the best. What other people think?
I will ask you to test this when it will be implemented :)