aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-03 17:52:20 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-03 17:52:20 (GMT)
commitae2633af63eac43f069240ee3f9a9a08f3f087af (patch)
treef1462ec4494e647df451f8ad66f0dad2a4b35731 /src
parentf90c86d4a3b73d1a4db69f2e97009eab3ee2d28e (diff)
downloadhostap-06-ae2633af63eac43f069240ee3f9a9a08f3f087af.zip
hostap-06-ae2633af63eac43f069240ee3f9a9a08f3f087af.tar.gz
hostap-06-ae2633af63eac43f069240ee3f9a9a08f3f087af.tar.bz2
Removed unused WPS_PENDING processing result
Diffstat (limited to 'src')
-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,