P2P: Cancel group formation timeout on p2p_cancel
This commit is contained in:
parent
231bbd0375
commit
45fee6f090
1 changed files with 2 additions and 0 deletions
|
@ -3974,6 +3974,8 @@ int wpas_p2p_cancel(struct wpa_supplicant *wpa_s)
|
||||||
"formation found - cancelling",
|
"formation found - cancelling",
|
||||||
wpa_s->ifname);
|
wpa_s->ifname);
|
||||||
found = 1;
|
found = 1;
|
||||||
|
eloop_cancel_timeout(wpas_p2p_group_formation_timeout,
|
||||||
|
wpa_s->parent, NULL);
|
||||||
wpas_p2p_group_delete(wpa_s);
|
wpas_p2p_group_delete(wpa_s);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue