aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eap.c
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/eap.c')
-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