aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_winreg.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-09-01 10:40:33 (GMT)
committerJouni Malinen <j@w1.fi>2013-09-01 18:35:10 (GMT)
commit01a57fe420f49588ecc1d59d5a5faf18cf551521 (patch)
treed2eb06d131cd6634d182ea35900be01d0cba2d01 /wpa_supplicant/config_winreg.c
parent759fd76b7fa554f3ee09a5a63d8cba76934b27d1 (diff)
downloadhostap-01a57fe420f49588ecc1d59d5a5faf18cf551521.zip
hostap-01a57fe420f49588ecc1d59d5a5faf18cf551521.tar.gz
hostap-01a57fe420f49588ecc1d59d5a5faf18cf551521.tar.bz2
P2P: Maintain list of per-client PSKs for persistent groups
Record all generated per-client PSKs in the persistent group network block and configure these for the GO Authenticator whenever re-starting the persistent group. This completes per-client PSK support for persistent groups. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/config_winreg.c')
-rw-r--r--wpa_supplicant/config_winreg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config_winreg.c b/wpa_supplicant/config_winreg.c
index 3cf3a91..1b5e237 100644
--- a/wpa_supplicant/config_winreg.c
+++ b/wpa_supplicant/config_winreg.c
@@ -302,6 +302,7 @@ static struct wpa_ssid * wpa_config_read_network(HKEY hk, const TCHAR *netw,
RegCloseKey(nhk);
return NULL;
}
+ dl_list_init(&ssid->psk_list);
ssid->id = id;
wpa_config_set_network_defaults(ssid);