aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-06-27 03:00:53 (GMT)
committerJouni Malinen <j@w1.fi>2005-06-27 03:00:53 (GMT)
commit441dece31348bb4a0ae0969851b3b74c40d2a4a7 (patch)
tree286d16f9f3e6a4304570c75b96b9e7bfcc2c8933
parent2503665b16bb3f90f5631636ce272d110a7fcbdc (diff)
downloadhostap-history-441dece31348bb4a0ae0969851b3b74c40d2a4a7.zip
hostap-history-441dece31348bb4a0ae0969851b3b74c40d2a4a7.tar.gz
hostap-history-441dece31348bb4a0ae0969851b3b74c40d2a4a7.tar.bz2
Do not print out debug messages about duplicate EAP Id if the EAPhostap_0_4_3
packet is something else than Request. EAP-Success and EAP-Failure are supposed to have the same Id, so printing out debugging about duplicates for these is confusing at best.
-rw-r--r--wpa_supplicant/eap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/eap.c b/wpa_supplicant/eap.c
index 583e6d6..1f46eb6 100644
--- a/wpa_supplicant/eap.c
+++ b/wpa_supplicant/eap.c
@@ -574,7 +574,7 @@ SM_STEP(EAP)
SM_ENTER(EAP, SUCCESS);
break;
case EAP_RECEIVED:
- duplicate = sm->reqId == sm->lastId;
+ duplicate = (sm->reqId == sm->lastId) && sm->rxReq;
if (sm->workaround && duplicate &&
memcmp(sm->req_md5, sm->last_md5, 16) != 0) {
/* draft-ietf-eap-statemachine-05.txt uses