aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-10-11 15:10:27 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-11 15:10:27 (GMT)
commite9471493ef47b5559faffaefd71d4b4d7497c481 (patch)
tree21160290144eccaefe2ae7484d75ae45c15dea0c /src/eap_server
parent58b992489c03755ab4df0a3f616dc3d67f8cb97a (diff)
downloadhostap-e9471493ef47b5559faffaefd71d4b4d7497c481.zip
hostap-e9471493ef47b5559faffaefd71d4b4d7497c481.tar.gz
hostap-e9471493ef47b5559faffaefd71d4b4d7497c481.tar.bz2
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>
Diffstat (limited to 'src/eap_server')
-rw-r--r--src/eap_server/eap_server_fast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_server/eap_server_fast.c b/src/eap_server/eap_server_fast.c
index 2692bce..d5bee22 100644
--- a/src/eap_server/eap_server_fast.c
+++ b/src/eap_server/eap_server_fast.c
@@ -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;
}