P2P: Stop early when processing not-persistent invitation result
This commit is contained in:
parent
2e062d5d74
commit
706887fc28
1 changed files with 3 additions and 0 deletions
|
@ -1830,6 +1830,9 @@ static void wpas_invitation_result(void *ctx, int status, const u8 *bssid)
|
||||||
"status=%d ", status);
|
"status=%d ", status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wpa_s->pending_invite_ssid_id == -1)
|
||||||
|
return; /* Invitation to active group */
|
||||||
|
|
||||||
if (status != P2P_SC_SUCCESS) {
|
if (status != P2P_SC_SUCCESS) {
|
||||||
wpas_p2p_remove_pending_group_interface(wpa_s);
|
wpas_p2p_remove_pending_group_interface(wpa_s);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue