Make sure the avr32dci_odevd structure is used.
This fixes a compilation error. MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
d038463bd2
commit
3f5054862a
@ -1690,6 +1690,12 @@ avr32dci_roothub_exec(struct usb_device *udev,
|
||||
len = sizeof(avr32dci_devd);
|
||||
ptr = (const void *)&avr32dci_devd;
|
||||
goto tr_valid;
|
||||
case UDESC_DEVICE_QUALIFIER:
|
||||
if (value & 0xff)
|
||||
goto tr_stalled;
|
||||
len = sizeof(avr32dci_odevd);
|
||||
ptr = (const void *)&avr32dci_odevd;
|
||||
goto tr_valid;
|
||||
case UDESC_CONFIG:
|
||||
if (value & 0xff) {
|
||||
goto tr_stalled;
|
||||
|
Loading…
Reference in New Issue
Block a user