Browse Source

Bugfix: _probe_device_match: Fix inverted logic

Luke Dashjr 12 years ago
parent
commit
885c01a6b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -10350,7 +10350,7 @@ void _scan_serial(void *p)
 static
 bool _probe_device_match(const struct lowlevel_device_info * const info, const char * const ser)
 {
-	if (!(true
+	if (!(false
 		|| (info->serial && !strcasecmp(ser, info->serial))
 		|| (info->path   && !strcasecmp(ser, info->path  ))
 	))