Re-configure WPA2 group keys on hostapd interface re-enable
This allows WPA2 mode AP to be re-enabled automatically after external ifconfig down + up on a netdev used by hostapd. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
f33c8606f4
commit
34782730c0
3 changed files with 13 additions and 0 deletions
|
@ -3387,3 +3387,14 @@ int wpa_auth_radius_das_disconnect_pmksa(struct wpa_authenticator *wpa_auth,
|
|||
{
|
||||
return pmksa_cache_auth_radius_das_disconnect(wpa_auth->pmksa, attr);
|
||||
}
|
||||
|
||||
|
||||
void wpa_auth_reconfig_group_keys(struct wpa_authenticator *wpa_auth)
|
||||
{
|
||||
struct wpa_group *group;
|
||||
|
||||
if (!wpa_auth)
|
||||
return;
|
||||
for (group = wpa_auth->group; group; group = group->next)
|
||||
wpa_group_config_group_keys(wpa_auth, group);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue