aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-03 17:50:49 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-03 17:50:49 (GMT)
commitf90c86d4a3b73d1a4db69f2e97009eab3ee2d28e (patch)
tree8d4b31567327e2394cfcab142e40b89cf3bd32d1 /wpa_supplicant/scan.c
parent875f6d7b93c4ccd834b40433d371412fcff33879 (diff)
downloadhostap-06-f90c86d4a3b73d1a4db69f2e97009eab3ee2d28e.zip
hostap-06-f90c86d4a3b73d1a4db69f2e97009eab3ee2d28e.tar.gz
hostap-06-f90c86d4a3b73d1a4db69f2e97009eab3ee2d28e.tar.bz2
Added Doxygen documentation for WPS code
Diffstat (limited to 'wpa_supplicant/scan.c')
-rw-r--r--wpa_supplicant/scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index a9f86ea..afc3411 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -19,7 +19,6 @@
#include "config.h"
#include "wpa_supplicant_i.h"
#include "mlme.h"
-#include "wps/wps.h"
#include "wps_supplicant.h"
@@ -43,7 +42,8 @@ static void wpa_supplicant_gen_assoc_event(struct wpa_supplicant *wpa_s)
#ifdef CONFIG_WPS
-static int wpas_wps_in_use(struct wpa_config *conf, u8 *req_type)
+static int wpas_wps_in_use(struct wpa_config *conf,
+ enum wps_request_type *req_type)
{
struct wpa_ssid *ssid;
int wps = 0;
@@ -75,7 +75,7 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
size_t extra_ie_len = 0;
int wps = 0;
#ifdef CONFIG_WPS
- u8 req_type = 0;
+ enum wps_request_type req_type = WPS_REQ_ENROLLEE_INFO;
#endif /* CONFIG_WPS */
if (wpa_s->disconnected && !wpa_s->scan_req)