aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Eilam <guy@wizery.com>2011-07-17 19:44:43 +0300
committerKeith Deacon <kdeacon@ti.com>2011-11-15 20:45:51 -0600
commite9a6a92de3ba606dbce1734bb350da2a67d28b2f (patch)
treefc6d83ab880a9573f2e28d0aa4c3276d51b199e7
parent03d4c1facdc9121a804d517806820b002c5f7b8e (diff)
downloadandroid_external_wpa_supplicant_8-e9a6a92de3ba606dbce1734bb350da2a67d28b2f.tar.gz
android_external_wpa_supplicant_8-e9a6a92de3ba606dbce1734bb350da2a67d28b2f.tar.bz2
android_external_wpa_supplicant_8-e9a6a92de3ba606dbce1734bb350da2a67d28b2f.zip
wpa_supplicant: fix call to preauth candidate list generation
Moved the call to the processing of the scan results for RSN pre-authentication candidates to an earlier position. This call was ignored most of the times due to a skip that is issues whenever the supplicant decides that there is no need to roam. Change-Id: I2871c521994aae4de8c8800b7e683912a99d0872 Signed-off-by: Guy Eilam <guy@wizery.com> Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 1e940231..b8329a70 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -992,6 +992,7 @@ static int _wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s,
skip = !wpa_supplicant_need_to_roam(wpa_s, selected, ssid,
scan_res);
wpa_scan_results_free(scan_res);
+ wpa_supplicant_rsn_preauth_scan_results(wpa_s);
if (skip)
return 0;
#ifdef ANDROID_BRCM_P2P_PATCH
@@ -1002,7 +1003,6 @@ static int _wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s,
#else
wpa_supplicant_connect(wpa_s, selected, ssid);
#endif
- wpa_supplicant_rsn_preauth_scan_results(wpa_s);
} else {
wpa_scan_results_free(scan_res);
wpa_dbg(wpa_s, MSG_DEBUG, "No suitable network found");