aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/main_winsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/main_winsvc.c')
-rw-r--r--wpa_supplicant/main_winsvc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/main_winsvc.c b/wpa_supplicant/main_winsvc.c
index b5be9fc..6d416fd 100644
--- a/wpa_supplicant/main_winsvc.c
+++ b/wpa_supplicant/main_winsvc.c
@@ -162,6 +162,13 @@ static int wpa_supplicant_thread(void)
}
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);
if (ret == ERROR_SUCCESS && buflen == sizeof(val) && val) {