P2P: Fix group interface addition failure properly for concurrent case
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 15 Jun 2015 20:34:11 +0000 (23:34 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 15 Jun 2015 20:43:00 +0000 (23:43 +0300)
commitd95c5994c8038cb09a70cc6400584c82097e7c31
tree5622f349b5b61764e5110b3a1845b61086a74d24
parente12c4004e4764bf6360bb617cf25ef7529c4d59f
P2P: Fix group interface addition failure properly for concurrent case

It was possible for a P2P group formation failure to result in a
concurrent station mode operation getting disconnected in the specific
error case where group interface addition fails after a successful GO
Negotiation. Fix this by skipping the wpas_p2p_group_delete() call in
this specific case since the group interface does not exists anymore at
the point wpas_group_formation_completed() gets called.

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