aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-01-13 20:09:08 (GMT)
committerJouni Malinen <j@w1.fi>2016-01-13 20:09:08 (GMT)
commit7ce56032516896498bfd3d6a2891e53cf7cd31fd (patch)
tree4630bc545f6998dd5ece6c592822693593b36d45 /src/eap_peer
parentd8e5a55f1ec4576fd401a8fbe2b9d34d7a7eb970 (diff)
downloadhostap-7ce56032516896498bfd3d6a2891e53cf7cd31fd.zip
hostap-7ce56032516896498bfd3d6a2891e53cf7cd31fd.tar.gz
hostap-7ce56032516896498bfd3d6a2891e53cf7cd31fd.tar.bz2
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>
Diffstat (limited to 'src/eap_peer')
-rw-r--r--src/eap_peer/eap_wsc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/eap_peer/eap_wsc.c b/src/eap_peer/eap_wsc.c
index 7ac99c7..0d31a5d 100644
--- a/src/eap_peer/eap_wsc.c
+++ b/src/eap_peer/eap_wsc.c
@@ -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: