Browse Source

Only probe VCOM devices on bare "all" scan-serial request

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

+ 1 - 1
miner.c

@@ -10466,7 +10466,7 @@ void *probe_device_thread(void *p)
 		{
 		{
 			LL_FOREACH2(infolist, info, same_devid_next)
 			LL_FOREACH2(infolist, info, same_devid_next)
 			{
 			{
-				if ((!strcasecmp(dname, "all")) || _probe_device_match(info, dname))
+				if ((info->lowl == &lowl_vcom && !strcasecmp(dname, "all")) || _probe_device_match(info, dname))
 				{
 				{
 					BFG_FOREACH_DRIVER_BY_PRIORITY(dreg, dreg_tmp)
 					BFG_FOREACH_DRIVER_BY_PRIORITY(dreg, dreg_tmp)
 					{
 					{