mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
Removed unused WPS_PENDING processing result
This commit is contained in:
parent
f90c86d4a3
commit
ae2633af63
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user