summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9354e59)
raw | patch | inline | side by side (parent: 9354e59)
author | Jouni Malinen <j@w1.fi> | |
Sun, 30 Oct 2011 20:37:12 +0000 (22:37 +0200) | ||
committer | Jouni Malinen <j@w1.fi> | |
Sun, 30 Oct 2011 20:37:12 +0000 (22:37 +0200) |
wpa_supplicant_rsn_preauth_scan_results() needs to be called to
update RSN pre-authentication candidates. This cannot be done before
the wpa_supplicant_connect() call on the first association, but when
trying to figure out whether to roam, it is fine to do so for the
case when roaming is skipped.
Signed-hostap: Jouni Malinen <j@w1.fi>
update RSN pre-authentication candidates. This cannot be done before
the wpa_supplicant_connect() call on the first association, but when
trying to figure out whether to roam, it is fine to do so for the
case when roaming is skipped.
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c | patch | blob | history |
index 80ca8696fdb6633b4bd3348f8d93a012e88e3dab..9a0663b16503d69cd5f582ca2b22c18919823ff5 100644 (file)
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
skip = !wpa_supplicant_need_to_roam(wpa_s, selected, ssid,
scan_res);
wpa_scan_results_free(scan_res);
- if (skip)
+ if (skip) {
+ wpa_supplicant_rsn_preauth_scan_results(wpa_s);
return 0;
+ }
if (wpa_supplicant_connect(wpa_s, selected, ssid) < 0) {
wpa_dbg(wpa_s, MSG_DEBUG, "Connect failed");