PMKSA: Flush AP/mesh PMKSA cache by PMKSA_FLUSH command
This extends the wpa_supplicant PMKSA_FLUSH control interface command to allow the PMKSA list from the authenticator side to be flushed for AP and mesh mode. In addition, this adds a hostapd PMKSA_FLUSH control interface command to flush the PMKSA entries. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
b8daac18a4
commit
4c522c7798
11 changed files with 65 additions and 1 deletions
|
@ -3368,6 +3368,13 @@ int wpa_auth_pmksa_list(struct wpa_authenticator *wpa_auth, char *buf,
|
|||
}
|
||||
|
||||
|
||||
void wpa_auth_pmksa_flush(struct wpa_authenticator *wpa_auth)
|
||||
{
|
||||
if (wpa_auth && wpa_auth->pmksa)
|
||||
pmksa_cache_auth_flush(wpa_auth->pmksa);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Remove and free the group from wpa_authenticator. This is triggered by a
|
||||
* callback to make sure nobody is currently iterating the group list while it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue