mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
P2P: Cancel group formation when deleting a group during group formation
Otherwise P2P remains in provisioning state and continues to skip extended listening forever. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This commit is contained in:
parent
86e2dcf5a6
commit
be11a59486
@ -872,6 +872,7 @@ static int wpas_p2p_group_delete(struct wpa_supplicant *wpa_s,
|
||||
wpa_printf(MSG_DEBUG, "P2P: Cancelled P2P group formation "
|
||||
"timeout");
|
||||
wpa_s->p2p_in_provisioning = 0;
|
||||
wpas_p2p_group_formation_failed(wpa_s, 1);
|
||||
}
|
||||
|
||||
wpa_s->p2p_in_invitation = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user