Clear driver PMKSA cache entry on PMKSA cache expiration
If the driver maintains its own copy of the PMKSA cache, we need to clear an entry from the driver whenever wpa_supplicant is dropping an old PMKSA cache entry.
This commit is contained in:
parent
5e67037b3a
commit
734baae0af
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ static void pmksa_cache_expire(void *eloop_ctx, void *timeout_ctx)
|
||||||
pmksa->pmksa = entry->next;
|
pmksa->pmksa = entry->next;
|
||||||
wpa_printf(MSG_DEBUG, "RSN: expired PMKSA cache entry for "
|
wpa_printf(MSG_DEBUG, "RSN: expired PMKSA cache entry for "
|
||||||
MACSTR, MAC2STR(entry->aa));
|
MACSTR, MAC2STR(entry->aa));
|
||||||
|
wpa_sm_remove_pmkid(pmksa->sm, entry->aa, entry->pmkid);
|
||||||
pmksa_cache_free_entry(pmksa, entry, 0);
|
pmksa_cache_free_entry(pmksa, entry, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue