aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/eap_peer/eap_wsc.c6
-rw-r--r--src/eap_server/eap_wsc.c4
-rw-r--r--src/wps/wps.h7
3 files changed, 1 insertions, 16 deletions
diff --git a/src/eap_peer/eap_wsc.c b/src/eap_peer/eap_wsc.c
index 6c45993..4b2260d 100644
--- a/src/eap_peer/eap_wsc.c
+++ b/src/eap_peer/eap_wsc.c
@@ -466,12 +466,6 @@ static struct wpabuf * eap_wsc_process(struct eap_sm *sm, void *priv,
wpa_printf(MSG_DEBUG, "EAP-WSC: WPS processing failed");
eap_wsc_state(data, FAIL);
break;
- case WPS_PENDING:
- wpa_printf(MSG_DEBUG, "EAP-WSC: WPS processing pending");
- ret->ignore = TRUE;
- if (data->in_buf == &tmpbuf)
- data->in_buf = NULL;
- return NULL;
}
if (data->in_buf != &tmpbuf)
diff --git a/src/eap_server/eap_wsc.c b/src/eap_server/eap_wsc.c
index 262503a..e6c197f 100644
--- a/src/eap_server/eap_wsc.c
+++ b/src/eap_server/eap_wsc.c
@@ -410,10 +410,6 @@ static void eap_wsc_process(struct eap_sm *sm, void *priv,
wpa_printf(MSG_DEBUG, "EAP-WSC: WPS processing failed");
eap_wsc_state(data, FAIL);
break;
- case WPS_PENDING:
- wpa_printf(MSG_DEBUG, "EAP-WSC: WPS processing pending");
- sm->method_pending = METHOD_PENDING_WAIT;
- break;
}
if (data->in_buf != &tmpbuf)
diff --git a/src/wps/wps.h b/src/wps/wps.h
index 4690ea0..8c62234 100644
--- a/src/wps/wps.h
+++ b/src/wps/wps.h
@@ -145,12 +145,7 @@ enum wps_process_res {
/**
* WPS_FAILURE - Processing failed
*/
- WPS_FAILURE,
-
- /**
- * WPS_PENDING - Processing pending
- */
- WPS_PENDING
+ WPS_FAILURE
};
enum wps_process_res wps_process_msg(struct wps_data *wps,
enum wsc_op_code op_code,