mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
Mark wpa_supplicant_{start,stop}_sched_scan() static
With the only callers in wpas_{start,stop}_pno() moved into scan.c, there is no need to call these helper functions from outside scan.c anymore. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3560b32ca3
commit
0f34665774
@ -266,8 +266,9 @@ wpa_supplicant_sched_scan_timeout(void *eloop_ctx, void *timeout_ctx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
|
static int
|
||||||
struct wpa_driver_scan_params *params)
|
wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
|
||||||
|
struct wpa_driver_scan_params *params)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@ -282,7 +283,7 @@ int wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int wpa_supplicant_stop_sched_scan(struct wpa_supplicant *wpa_s)
|
static int wpa_supplicant_stop_sched_scan(struct wpa_supplicant *wpa_s)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -39,9 +39,6 @@ void wpa_supplicant_update_scan_int(struct wpa_supplicant *wpa_s, int sec);
|
|||||||
void scan_only_handler(struct wpa_supplicant *wpa_s,
|
void scan_only_handler(struct wpa_supplicant *wpa_s,
|
||||||
struct wpa_scan_results *scan_res);
|
struct wpa_scan_results *scan_res);
|
||||||
int wpas_scan_scheduled(struct wpa_supplicant *wpa_s);
|
int wpas_scan_scheduled(struct wpa_supplicant *wpa_s);
|
||||||
int wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
|
|
||||||
struct wpa_driver_scan_params *params);
|
|
||||||
int wpa_supplicant_stop_sched_scan(struct wpa_supplicant *wpa_s);
|
|
||||||
struct wpa_driver_scan_params *
|
struct wpa_driver_scan_params *
|
||||||
wpa_scan_clone_params(const struct wpa_driver_scan_params *src);
|
wpa_scan_clone_params(const struct wpa_driver_scan_params *src);
|
||||||
void wpa_scan_free_params(struct wpa_driver_scan_params *params);
|
void wpa_scan_free_params(struct wpa_driver_scan_params *params);
|
||||||
|
Loading…
Reference in New Issue
Block a user