commit | bbfdcfe9aec1056a8e07719240f17382c6b97800 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Sat Oct 10 04:07:19 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Oct 10 04:07:19 2020 +0000 |
tree | a7e7d867ed587fe578df6838f26eceece851811e | |
parent | e42c40592e205a280f72155461f4837accde05df [diff] | |
parent | 92cbe44bb5b30ebf8cb159b9050f880519ac8125 [diff] |
wpa_supplicant: Fix order of auth_timeout event am: 92cbe44bb5 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/12796478 Change-Id: Ibead1e14519c6f1d67e1763e62ddc91406d2f84f
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 78910fc..a01a4e5 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c
@@ -223,10 +223,10 @@ wpa_msg(wpa_s, MSG_INFO, "Authentication with " MACSTR " timed out.", MAC2STR(bssid)); wpa_blacklist_add(wpa_s, bssid); + wpas_notify_auth_timeout(wpa_s); wpa_sm_notify_disassoc(wpa_s->wpa); wpa_supplicant_deauthenticate(wpa_s, WLAN_REASON_DEAUTH_LEAVING); wpa_s->reassociate = 1; - wpas_notify_auth_timeout(wpa_s); /* * If we timed out, the AP or the local radio may be busy.