aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-04-07 08:45:01 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-07 08:45:01 (GMT)
commit0f3466577428f91e4835696efa85ae3982186cea (patch)
tree5d3895b48cd3bd265e0b3edbcee06d1021a6de68 /wpa_supplicant/scan.c
parent3560b32ca34f0ac20e4883cd2a0ad21a20502dfc (diff)
downloadhostap-0f3466577428f91e4835696efa85ae3982186cea.zip
hostap-0f3466577428f91e4835696efa85ae3982186cea.tar.gz
hostap-0f3466577428f91e4835696efa85ae3982186cea.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/scan.c')
-rw-r--r--wpa_supplicant/scan.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index 7a52826..4dd0314 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -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,
- struct wpa_driver_scan_params *params)
+static int
+wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
+ struct wpa_driver_scan_params *params)
{
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;