Removed unused WPS_PENDING processing result

This commit is contained in:
Jouni Malinen 2009-01-03 19:52:20 +02:00
parent f90c86d4a3
commit ae2633af63
3 changed files with 1 additions and 16 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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,