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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299060
@ -1774,7 +1774,9 @@ usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
|
|||||||
|
|
||||||
scratch_ptr = udev->scratch.data;
|
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.iProduct ||
|
||||||
udev->ddesc.iSerialNumber) {
|
udev->ddesc.iSerialNumber) {
|
||||||
/* read out the language ID string */
|
/* read out the language ID string */
|
||||||
|
Loading…
Reference in New Issue
Block a user