/* DViCO has shipped two devices with the same USB ID, but only one of them needs a firmware download. Check the device class details to see if they have non-default values to decide whether the device is actually cold or not, and forget a match if it turns out we selected the wrong device.  */
static int bluebird_fx2_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, int *cold)
/* DViCO has shipped two devices with the same USB ID, but only one of them needs a firmware download. Check the device class details to see if they have non-default values to decide whether the device is actually cold or not, and forget a match if it turns out we selected the wrong device.  */
static int bluebird_fx2_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, int *cold)
{
	int wascold = *cold;
	*cold = udev->descriptor.bDeviceClass == 0xff &&
		udev->descriptor.bDeviceSubClass == 0xff &&
		udev->descriptor.bDeviceProtocol == 0xff;
	if (*cold && !wascold)
		*desc = NULL;
	return 0;
}