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
1 changed files with 1 additions and 0 deletions
|
@ -5219,6 +5219,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
|
||||||
reply_len = -1;
|
reply_len = -1;
|
||||||
#endif /* CONFIG_AUTOSCAN */
|
#endif /* CONFIG_AUTOSCAN */
|
||||||
} else if (os_strcmp(buf, "REAUTHENTICATE") == 0) {
|
} else if (os_strcmp(buf, "REAUTHENTICATE") == 0) {
|
||||||
|
pmksa_cache_clear_current(wpa_s->wpa);
|
||||||
eapol_sm_request_reauth(wpa_s->eapol);
|
eapol_sm_request_reauth(wpa_s->eapol);
|
||||||
} else {
|
} else {
|
||||||
os_memcpy(reply, "UNKNOWN COMMAND\n", 16);
|
os_memcpy(reply, "UNKNOWN COMMAND\n", 16);
|
||||||
|
|
Loading…
Reference in a new issue