From: Jouni Malinen Date: Wed, 13 Jan 2016 20:09:08 +0000 (+0200) Subject: EAP-WSC peer: Remove unused state values X-Git-Tag: hostap_2_6~1002 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce56032516896498bfd3d6a2891e53cf7cd31fd;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/eap_peer/eap_wsc.c b/src/eap_peer/eap_wsc.c index 7ac99c7ce..0d31a5d70 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: