am7xxx: make a comment clearer about SCAN_OP_OPEN_DEVICE
authorAntonio Ospite <ao2@ao2.it>
Sun, 25 Jan 2015 21:12:27 +0000 (22:12 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sun, 25 Jan 2015 21:12:27 +0000 (22:12 +0100)
src/am7xxx.c

index ebc403e..f874469 100644 (file)
@@ -832,7 +832,8 @@ out_libusb_close:
                }
        }
 
-       /* if we made it up to here we didn't find any device to open */
+       /* if we made it up to here when op == SCAN_OP_OPEN_DEVICE,
+        * no devices to open had been found. */
        if (op == SCAN_OP_OPEN_DEVICE) {
                error(ctx, "Cannot find any device to open\n");
                ret = -ENODEV;