mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
EAP-WSC peer: Remove unused state values
The FRAG_ACK and DONE state were not used at all, so remove them. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
d8e5a55f1e
commit
7ce5603251
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
struct eap_wsc_data {
|
||||
enum { WAIT_START, MESG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state;
|
||||
enum { WAIT_START, MESG, WAIT_FRAG_ACK, FAIL } state;
|
||||
int registrar;
|
||||
struct wpabuf *in_buf;
|
||||
struct wpabuf *out_buf;
|
||||
@ -36,12 +36,8 @@ static const char * eap_wsc_state_txt(int state)
|
||||
return "WAIT_START";
|
||||
case MESG:
|
||||
return "MESG";
|
||||
case FRAG_ACK:
|
||||
return "FRAG_ACK";
|
||||
case WAIT_FRAG_ACK:
|
||||
return "WAIT_FRAG_ACK";
|
||||
case DONE:
|
||||
return "DONE";
|
||||
case FAIL:
|
||||
return "FAIL";
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user