]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-WSC peer: Remove unused state values
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 13 Jan 2016 20:09:08 +0000 (22:09 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 13 Jan 2016 20:09:08 +0000 (22:09 +0200)
The FRAG_ACK and DONE state were not used at all, so remove them.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/eap_peer/eap_wsc.c

index 7ac99c7ce727b2c74dc58e336354d907bd39839f..0d31a5d70aed43dfa9125570b6a930dcf797c149 100644 (file)
@@ -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: