aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-19 22:19:41 +0200
committerJouni Malinen <j@w1.fi>2008-12-19 22:19:41 +0200
commit469fc3a41f6ca46c7e46d6fd5762e9aa03369f1f (patch)
treed14174f74b6fa04760d6c5534f0461b1c8ab51ef /src/wps/wps_i.h
parent4b68290e771a70f46452bd69f318e91acc9891b7 (diff)
downloadexternal_wpa_supplicant_8_ti-469fc3a41f6ca46c7e46d6fd5762e9aa03369f1f.zip
external_wpa_supplicant_8_ti-469fc3a41f6ca46c7e46d6fd5762e9aa03369f1f.tar.gz
external_wpa_supplicant_8_ti-469fc3a41f6ca46c7e46d6fd5762e9aa03369f1f.tar.bz2
WPS: Added callback for failure-after-M2/M2D
This callback is now used to stop wpa_supplicant from trying to continue using parameters (most likely, device password) that do not work in a loop. In addition, wpa_gui can now notify user of failed registration.
Diffstat (limited to 'src/wps/wps_i.h')
-rw-r--r--src/wps/wps_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wps/wps_i.h b/src/wps/wps_i.h
index b661b5d..3ae53b8 100644
--- a/src/wps/wps_i.h
+++ b/src/wps/wps_i.h
@@ -165,6 +165,7 @@ void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
size_t dev_passwd_len);
struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
size_t encr_len);
+void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg);
/* wps_attr_parse.c */
int wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr);