From 469fc3a41f6ca46c7e46d6fd5762e9aa03369f1f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 19 Dec 2008 22:19:41 +0200 Subject: 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. --- src/wps/wps_i.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wps/wps_i.h') 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); -- cgit v1.1