aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_winreg.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-18 19:29:59 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-18 19:29:59 (GMT)
commit9be0963605a9fae71e9ef2ba0ccdab3b638be412 (patch)
treef68c1aace43c3d6b674929e134bc52ab6cce7e54 /wpa_supplicant/config_winreg.c
parentf086742432f2796a1a1c12d95b3e13d643e15061 (diff)
downloadhostap-9be0963605a9fae71e9ef2ba0ccdab3b638be412.zip
hostap-9be0963605a9fae71e9ef2ba0ccdab3b638be412.tar.gz
hostap-9be0963605a9fae71e9ef2ba0ccdab3b638be412.tar.bz2
Fixed global conf write to skip default values for uuid and os_version
Diffstat (limited to 'wpa_supplicant/config_winreg.c')
-rw-r--r--wpa_supplicant/config_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/config_winreg.c b/wpa_supplicant/config_winreg.c
index 48ce603..e16630d 100644
--- a/wpa_supplicant/config_winreg.c
+++ b/wpa_supplicant/config_winreg.c
@@ -551,7 +551,7 @@ static int wpa_config_write_global(struct wpa_config *config, HKEY hk)
config->update_config,
0);
#ifdef CONFIG_WPS
- if (is_nil_uuid(config->uuid)) {
+ if (!is_nil_uuid(config->uuid)) {
char buf[40];
uuid_bin2str(config->uuid, buf, sizeof(buf));
wpa_config_write_reg_string(hk, "uuid", buf);