diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2018-05-16 16:01:23 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2018-05-16 16:01:23 (GMT) |
commit | ffff7f7095cca07c7425808e88e4dc3cbd2b11f2 (patch) | |
tree | fa1b24ea5d4cc7ecb037ebf56c995a025bd072b1 /wpa_supplicant | |
parent | 0cc41ee6358d4f6a3a95f85859368fe2d463ae2c (diff) | |
download | hostap-ffff7f7095cca07c7425808e88e4dc3cbd2b11f2.zip hostap-ffff7f7095cca07c7425808e88e4dc3cbd2b11f2.tar.gz hostap-ffff7f7095cca07c7425808e88e4dc3cbd2b11f2.tar.bz2 |
OWE: Mark connection failed in the unlikely no-bss-entry case
If no BSS entry can be found when processing association rejected event
from the driver for the special OWE case of unsupported
finite-cyclic-group, process the event as a connection failure instead
of just skipping the the OWE retry with another DH group.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r-- | wpa_supplicant/events.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 51e9d8a..8772291 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -3932,8 +3932,11 @@ static void wpas_event_assoc_reject(struct wpa_supplicant *wpa_s, if (!bss) { bss = wpa_supplicant_get_new_bss(wpa_s, bssid); - if (!bss) + if (!bss) { + wpas_connection_failed(wpa_s, bssid); + wpa_supplicant_mark_disassoc(wpa_s); return; + } } wpa_printf(MSG_DEBUG, "OWE: Try next supported DH group"); wpas_connect_work_done(wpa_s); |