Do not automatically enable powertune in benchmark, but allow the user to enable...
authorjsteube <jens.steube@gmail.com>
Sun, 12 Jun 2016 15:51:32 +0000 (17:51 +0200)
committerjsteube <jens.steube@gmail.com>
Sun, 12 Jun 2016 15:51:32 +0000 (17:51 +0200)
src/hashcat.c

index 3f5fb41..4405789 100644 (file)
@@ -6972,8 +6972,10 @@ int main (int argc, char **argv)
     gpu_temp_disable      = 1;
 
     #ifdef HAVE_HWMON
-    gpu_temp_disable      = 0;
-    powertune_enable      = 1;
+    if (powertune_enable == 1)
+    {
+      gpu_temp_disable = 0;
+    }
     #endif
 
     data.status_timer     = status_timer;