EAP-FAST server: Remove unused write

next_type is not used in case m->check() results in ignoring the packet.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-10-11 18:10:27 +03:00
parent 58b992489c
commit e9471493ef

View 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;
}