In sys/dev/usb/controller/uss820dci.c, similar to r261977, fix a warning
about uss820dci_odevd being unused, by adding it to the part that handles getting descriptors. Reported by: loos Reviewed by: hselasky MFC after: 3 days
This commit is contained in:
parent
4af6e44409
commit
ea7f47f524
@ -2005,6 +2005,13 @@ uss820dci_roothub_exec(struct usb_device *udev,
|
||||
len = sizeof(uss820dci_devd);
|
||||
ptr = (const void *)&uss820dci_devd;
|
||||
goto tr_valid;
|
||||
case UDESC_DEVICE_QUALIFIER:
|
||||
if (value & 0xff) {
|
||||
goto tr_stalled;
|
||||
}
|
||||
len = sizeof(uss820dci_odevd);
|
||||
ptr = (const void *)&uss820dci_odevd;
|
||||
goto tr_valid;
|
||||
case UDESC_CONFIG:
|
||||
if (value & 0xff) {
|
||||
goto tr_stalled;
|
||||
|
Loading…
Reference in New Issue
Block a user