On 12/10/2017 07:25 PM, jose(a)blanquicet.com wrote:
From: Jose Blanquicet <jose(a)blanquicet.com>
When P2P is connecting and the other device acts as Group owner then it
is not needed to handle interface state changes G_SUPPLICANT_STATE_*
because the P2P connection success is completely based on the peer state
CONNMAN_PEER_STATE_*. Therefore, do not treat interface state changes
during a P2P connection, otherwise it could result in an inconsistency.
Check wifi->p2p_device will handle system's configuration where the P2P
group interface is created and wifi->p2p_connecting where it is not.
Reported-by: Saurav Babu <saurav.babu(a)samsung.com>