/*
* A unique USB identification is generated like this:
*
- * 1.) Get the USB device type from DeviceClass, InterfaceClass
- * and InterfaceSubClass
+ * 1.) Get the USB device type from InterfaceClass and InterfaceSubClass
* 2.) If the device type is 'Mass-Storage/SPC-2' or 'Mass-Storage/RBC'
* use the SCSI vendor and model as USB-Vendor and USB-model.
* 3.) Otherwise use the USB manufacturer and product as
dbg(udev, "syspath %s\n", udev_device_get_syspath(dev));
- /* shortcut if we are called for a usb_device */
+ /* shortcut, if we are called directly for a "usb_device" type */
if (udev_device_get_devtype(dev) != NULL && strcmp(udev_device_get_devtype(dev), "usb_device") == 0) {
dev_if_packed_info(dev, packed_if_str, sizeof(packed_if_str));
dev_usb = dev;