Browse Source

EAP-PEAP: Remove unused hdr assignment

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 13 years ago
parent
commit
0ac6c3f71a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/eap_server/eap_server_peap.c

+ 0 - 2
src/eap_server/eap_server_peap.c

@@ -1064,8 +1064,6 @@ static void eap_peap_process_phase2(struct eap_sm *sm,
 	wpa_hexdump_buf_key(MSG_DEBUG, "EAP-PEAP: Decrypted Phase 2 EAP",
 			    in_decrypted);
 
-	hdr = wpabuf_head(in_decrypted);
-
 	if (data->peap_version == 0 && data->state != PHASE2_TLV) {
 		const struct eap_hdr *resp;
 		struct eap_hdr *nhdr;