Extend the UQ_NO_STRINGS quirk to also cover the USB language string
descriptor. This fixes enumeration of some older Samsung Galaxy S3 phones. MFC after: 1 week
This commit is contained in:
parent
a8cd039341
commit
869df73304
@ -1774,7 +1774,9 @@ usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
|
||||
|
||||
scratch_ptr = udev->scratch.data;
|
||||
|
||||
if (udev->ddesc.iManufacturer ||
|
||||
if (udev->flags.no_strings) {
|
||||
err = USB_ERR_INVAL;
|
||||
} else if (udev->ddesc.iManufacturer ||
|
||||
udev->ddesc.iProduct ||
|
||||
udev->ddesc.iSerialNumber) {
|
||||
/* read out the language ID string */
|
||||
|
Loading…
x
Reference in New Issue
Block a user