mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
SAE: Report connection failure if SME cannot build auth frame
Instead of just stopping connection process and network discovery, report SAE failures to build Authentication frames (e.g., due to missing password) as a connection failure to get the normal retry mechanism into use. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
0e40d7daa4
commit
81648d0041
@ -464,7 +464,7 @@ static void sme_send_authentication(struct wpa_supplicant *wpa_s,
|
||||
else
|
||||
resp = sme_auth_build_sae_confirm(wpa_s);
|
||||
if (resp == NULL) {
|
||||
wpas_connect_work_done(wpa_s);
|
||||
wpas_connection_failed(wpa_s, bss->bssid);
|
||||
return;
|
||||
}
|
||||
params.sae_data = wpabuf_head(resp);
|
||||
|
Loading…
Reference in New Issue
Block a user