|
@@ -553,6 +553,7 @@ static long iowarrior_ioctl(struct file *file, unsigned int cmd,
|
|
|
/* needed for power consumption */
|
|
|
struct usb_config_descriptor *cfg_descriptor = &dev->udev->actconfig->desc;
|
|
|
|
|
|
+ memset(&info, 0, sizeof(info));
|
|
|
/* directly from the descriptor */
|
|
|
info.vendor = le16_to_cpu(dev->udev->descriptor.idVendor);
|
|
|
info.product = dev->product_id;
|