fixed PMKID regression on wpacleaned cap files
@@ -2912,7 +2912,6 @@ eapauth_t *eap;
wpakey_t *wpak;
uint16_t keyinfo;
uint16_t authlen;
-uint16_t gkeyinfo;
uint64_t rc;
uint16_t kl;
@@ -2953,15 +2952,11 @@ if(keyinfo == 1)
if(authlen == 0x75)
{
if(kl == 16)
- {
- gkeyinfo = ntohs(wpak->keyinfo);
- if(!(gkeyinfo & WPA_KEY_INFO_KEY_TYPE))
{
addpmkid(macaddr1, macaddr2, packet +EAPAUTH_SIZE);
}
}
}
- }
else if(keyinfo == 3)
{
addeapol(tv_sec, tv_usec, macaddr1, macaddr2, 2, rc, authlen +4, packet);
