From 7ef80fb12b98e54511744487228a26b75ae89981 Mon Sep 17 00:00:00 2001 From: jsteube Date: Sun, 12 Jun 2016 17:51:32 +0200 Subject: [PATCH] Do not automatically enable powertune in benchmark, but allow the user to enable it manually --- src/hashcat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hashcat.c b/src/hashcat.c index 3f5fb41a8..44057892a 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -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;