aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-09-26 21:09:33 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-26 21:09:33 (GMT)
commit5bb7327a697108c880dd31c9e421df386c904b1a (patch)
tree0bed828263eccf7459d45008e4d4c40110fa3650 /wpa_supplicant/scan.h
parentbe7ebd892ee7c47ff291de4e7802c14758f02a3d (diff)
downloadhostap-5bb7327a697108c880dd31c9e421df386c904b1a.zip
hostap-5bb7327a697108c880dd31c9e421df386c904b1a.tar.gz
hostap-5bb7327a697108c880dd31c9e421df386c904b1a.tar.bz2
Share a common helper function for restarting sched_scan
This code sequence was already used at two different places (and an additional one has been proposed), so add a common helper function to avoid having to copy-paste this functionality in multiple locations. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index edc04aa..2aa0a8b 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -45,6 +45,7 @@ void wpa_scan_free_params(struct wpa_driver_scan_params *params);
int wpas_start_pno(struct wpa_supplicant *wpa_s);
int wpas_stop_pno(struct wpa_supplicant *wpa_s);
void wpas_scan_reset_sched_scan(struct wpa_supplicant *wpa_s);
+void wpas_scan_restart_sched_scan(struct wpa_supplicant *wpa_s);
void wpas_mac_addr_rand_scan_clear(struct wpa_supplicant *wpa_s,
unsigned int type);