aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-02-03 19:13:07 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-03 19:13:07 (GMT)
commitd6bbcce411beb253ef7d4358a384b27ed2b5a904 (patch)
tree276461f6dd1bf07c08968ef9dd2f57ffeacf2329 /wpa_supplicant/events.c
parentcecdddc18419048dfe30866eb02c305c752a39c2 (diff)
downloadhostap-d6bbcce411beb253ef7d4358a384b27ed2b5a904.zip
hostap-d6bbcce411beb253ef7d4358a384b27ed2b5a904.tar.gz
hostap-d6bbcce411beb253ef7d4358a384b27ed2b5a904.tar.bz2
Make wpas_select_network_from_last_scan() static
Addition of wpa_supplicant_fast_associate() made it unnecessary to call wpas_select_network_from_last_scan() directly from other files. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 47e7eb8..13b54c2 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -44,6 +44,9 @@
#include "interworking.h"
+static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s);
+
+
static int wpas_temp_disabled(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid)
{
@@ -1188,7 +1191,7 @@ static int _wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s,
}
-int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s)
+static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s)
{
struct wpa_bss *selected;
struct wpa_ssid *ssid = NULL;