Added debug_timestamp option to Windows registry
This commit is contained in:
parent
b6310a6f47
commit
99a10f8d2c
2 changed files with 8 additions and 0 deletions
|
@ -161,6 +161,13 @@ static int wpa_supplicant_thread(void)
|
||||||
params.wpa_debug_show_keys = val;
|
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);
|
buflen = sizeof(val);
|
||||||
ret = RegQueryValueEx(hk, TEXT("debug_use_file"), NULL, NULL,
|
ret = RegQueryValueEx(hk, TEXT("debug_use_file"), NULL, NULL,
|
||||||
(LPBYTE) &val, &buflen);
|
(LPBYTE) &val, &buflen);
|
||||||
|
|
|
@ -3,6 +3,7 @@ REGEDIT4
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant]
|
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant]
|
||||||
"debug_level"=dword:00000000
|
"debug_level"=dword:00000000
|
||||||
"debug_show_keys"=dword:00000001
|
"debug_show_keys"=dword:00000001
|
||||||
|
"debug_timestamp"=dword:00000000
|
||||||
"debug_use_file"=dword:00000000
|
"debug_use_file"=dword:00000000
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\configs]
|
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\configs]
|
||||||
|
|
Loading…
Reference in a new issue