r3139 - trunk/src/host/dfu-util/src
werner at sita.openmoko.org
werner at sita.openmoko.org
Wed Oct 10 04:36:23 CEST 2007
Author: werner
Date: 2007-10-10 04:36:19 +0200 (Wed, 10 Oct 2007)
New Revision: 3139
Modified:
trunk/src/host/dfu-util/src/main.c
Log:
main.c (iterate_dfu_devices): put back essential call to count_dfu_interfaces
stupidly removed by mistake :-(
Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c 2007-10-10 01:56:15 UTC (rev 3138)
+++ trunk/src/host/dfu-util/src/main.c 2007-10-10 02:36:19 UTC (rev 3139)
@@ -243,6 +243,8 @@
(atoi(usb_bus->dirname) != dif->bus ||
dev->devnum != dif->devnum))
continue;
+ if (!count_dfu_interfaces(dev))
+ continue;
retval = action(dev, user);
if (retval)
More information about the commitlog
mailing list