mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix REAUTHENTICATE command after PMKSA caching
The current PMKSA cache entry needs to be clear to allow EAPOL reauthentication to be started in case this association used PMKSA caching. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
0639970d89
commit
f5f37d3a4f
@ -5219,6 +5219,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
|
||||
reply_len = -1;
|
||||
#endif /* CONFIG_AUTOSCAN */
|
||||
} else if (os_strcmp(buf, "REAUTHENTICATE") == 0) {
|
||||
pmksa_cache_clear_current(wpa_s->wpa);
|
||||
eapol_sm_request_reauth(wpa_s->eapol);
|
||||
} else {
|
||||
os_memcpy(reply, "UNKNOWN COMMAND\n", 16);
|
||||
|
Loading…
Reference in New Issue
Block a user