mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-06 04:04:01 -05:00
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>
This commit is contained in:
parent
cecdddc184
commit
d6bbcce411
@ -44,6 +44,9 @@
|
|||||||
#include "interworking.h"
|
#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,
|
static int wpas_temp_disabled(struct wpa_supplicant *wpa_s,
|
||||||
struct wpa_ssid *ssid)
|
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_bss *selected;
|
||||||
struct wpa_ssid *ssid = NULL;
|
struct wpa_ssid *ssid = NULL;
|
||||||
|
@ -785,7 +785,6 @@ int wpa_supplicant_connect(struct wpa_supplicant *wpa_s,
|
|||||||
void wpa_supplicant_stop_countermeasures(void *eloop_ctx, void *sock_ctx);
|
void wpa_supplicant_stop_countermeasures(void *eloop_ctx, void *sock_ctx);
|
||||||
void wpa_supplicant_delayed_mic_error_report(void *eloop_ctx, void *sock_ctx);
|
void wpa_supplicant_delayed_mic_error_report(void *eloop_ctx, void *sock_ctx);
|
||||||
void wnm_bss_keep_alive_deinit(struct wpa_supplicant *wpa_s);
|
void wnm_bss_keep_alive_deinit(struct wpa_supplicant *wpa_s);
|
||||||
int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s);
|
|
||||||
int wpa_supplicant_fast_associate(struct wpa_supplicant *wpa_s);
|
int wpa_supplicant_fast_associate(struct wpa_supplicant *wpa_s);
|
||||||
|
|
||||||
/* eap_register.c */
|
/* eap_register.c */
|
||||||
|
Loading…
Reference in New Issue
Block a user