aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-22 16:04:21 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-22 16:40:03 (GMT)
commitd0b9ab69f6b73d61fe7054ea98110015cf8dcf17 (patch)
tree13671e71ac326b7a820b50115e893ffcfc4313af /wpa_supplicant/events.c
parent279b5486a6caad1d5eb69e7a39ebf846546d7d79 (diff)
downloadhostap-d0b9ab69f6b73d61fe7054ea98110015cf8dcf17.zip
hostap-d0b9ab69f6b73d61fe7054ea98110015cf8dcf17.tar.gz
hostap-d0b9ab69f6b73d61fe7054ea98110015cf8dcf17.tar.bz2
WNM: Move transition candidate list processing to normal scan
This makes it easier to optimize transition request processing. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index c404dd2..ee2801c 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1314,6 +1314,9 @@ static int _wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s,
return 0;
}
+ if (wnm_scan_process(wpa_s) > 0)
+ goto scan_work_done;
+
if (sme_proc_obss_scan(wpa_s) > 0)
goto scan_work_done;