Added debug_timestamp option to Windows registry

This commit is contained in:
Jouni Malinen 2008-10-02 16:26:18 +03:00 committed by Jouni Malinen
parent b6310a6f47
commit 99a10f8d2c
2 changed files with 8 additions and 0 deletions

View file

@ -161,6 +161,13 @@ static int wpa_supplicant_thread(void)
params.wpa_debug_show_keys = val;
}
buflen = sizeof(val);
ret = RegQueryValueEx(hk, TEXT("debug_timestamp"), NULL, NULL,
(LPBYTE) &val, &buflen);
if (ret == ERROR_SUCCESS && buflen == sizeof(val)) {
params.wpa_debug_timestamp = val;
}
buflen = sizeof(val);
ret = RegQueryValueEx(hk, TEXT("debug_use_file"), NULL, NULL,
(LPBYTE) &val, &buflen);

View file

@ -3,6 +3,7 @@ REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant]
"debug_level"=dword:00000000
"debug_show_keys"=dword:00000001
"debug_timestamp"=dword:00000000
"debug_use_file"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\configs]