mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-16 09:03:05 -05:00
P2P: Fix p2p_cancel to return success if GO Negotiation is stopped
If a GO Negotiation peer is found, wpas_p2p_stop_find() stops the negotiation and p2p_cancel can return success. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
1affa36cb5
commit
75c208b9db
@ -4337,6 +4337,7 @@ int wpas_p2p_cancel(struct wpa_supplicant *wpa_s)
|
||||
wpa_printf(MSG_DEBUG, "P2P: Unauthorize pending GO Neg peer "
|
||||
MACSTR, MAC2STR(peer));
|
||||
p2p_unauthorize(global->p2p, peer);
|
||||
found = 1;
|
||||
}
|
||||
|
||||
wpas_p2p_stop_find(wpa_s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user