Parcourir la source

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>
Jouni Malinen il y a 10 ans
Parent
commit
e9471493ef
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/eap_server/eap_server_fast.c

+ 1 - 1
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;
 	}