commit | d9f44434146e524a0a100fe9a2663817eee2ac82 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Sat Oct 10 04:34:44 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Oct 10 04:34:44 2020 +0000 |
tree | a7638fb616888573c7a71aa91b8d620011f13a57 | |
parent | b921bb82afcc9a73c5cbbf62f0ecee1ba2fdea32 [diff] | |
parent | bbfdcfe9aec1056a8e07719240f17382c6b97800 [diff] |
wpa_supplicant: Fix order of auth_timeout event am: 92cbe44bb5 am: bbfdcfe9ae Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/12796478 Change-Id: I0c51d6432fc11de5dc9daa98c16beec6a1fb7102
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.