aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-29 11:38:03 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-29 11:38:03 (GMT)
commitb01c18a8ef0c26e4390c05defc29123e82ca3b0a (patch)
treee0296d2c2fa5d4e131b47e16a399a4320fefc60a /wpa_supplicant/wps_supplicant.h
parentb8a8c299c8ec0f24ec387794c104aefbef68caf3 (diff)
downloadhostap-b01c18a8ef0c26e4390c05defc29123e82ca3b0a.zip
hostap-b01c18a8ef0c26e4390c05defc29123e82ca3b0a.tar.gz
hostap-b01c18a8ef0c26e4390c05defc29123e82ca3b0a.tar.bz2
WPS: Set Request Type properly into WPS IE in ProbeReq/AssocReq
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index caacc36..73e7258 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -20,7 +20,7 @@
int wpas_wps_init(struct wpa_supplicant *wpa_s);
void wpas_wps_deinit(struct wpa_supplicant *wpa_s);
int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s);
-void * wpas_wps_get_cred_cb(void);
+u8 wpas_wps_get_req_type(struct wpa_ssid *ssid);
#else /* CONFIG_WPS */
@@ -38,9 +38,9 @@ static inline int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s)
return 0;
}
-static inline void * wpas_wps_get_cred_cb(void)
+u8 wpas_wps_get_req_type(struct wpa_ssid *ssid)
{
- return NULL;
+ return 0;
}
#endif /* CONFIG_WPS */