Do not show *throttle* in status display if the reason is unknown
[hashcat.git] / src / shared.c
index fafa6ed..d723abb 100644 (file)
@@ -3396,6 +3396,8 @@ int hm_get_throttle_with_device_id (const uint device_id)
 
     clocksThrottleReasons &= supportedThrottleReasons;
 
+    clocksThrottleReasons &= ~nvmlClocksThrottleReasonUnknown;
+
     return (clocksThrottleReasons > 0);
   }