EAP-FAST server: Remove unused write
authorJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 15:10:27 +0000 (18:10 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 15:10:27 +0000 (18:10 +0300)
next_type is not used in case m->check() results in ignoring the packet.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_server/eap_server_fast.c

index 2692bce..d5bee22 100644 (file)
@@ -1017,7 +1017,7 @@ static void eap_fast_process_phase2_response(struct eap_sm *sm,
        if (m->check(sm, priv, &buf)) {
                wpa_printf(MSG_DEBUG, "EAP-FAST: Phase2 check() asked to "
                           "ignore the packet");
-               next_type = eap_fast_req_failure(sm, data);
+               eap_fast_req_failure(sm, data);
                return;
        }