fw/e1-tracer: Fix bNumInterfaces in new configuration
This fixes the following Linux kernel error message on the host: usb 1-1: config 2 has 2 interfaces, different from the descriptor's value: 3 Change-Id: Ideb816169a1e995907901c018e7bd2f963c1a831
This commit is contained in:
parent
6cb6e6ec15
commit
6fc0ad3c7e
|
@ -156,7 +156,7 @@ static const struct {
|
||||||
.bLength = sizeof(struct usb_conf_desc),
|
.bLength = sizeof(struct usb_conf_desc),
|
||||||
.bDescriptorType = USB_DT_CONF,
|
.bDescriptorType = USB_DT_CONF,
|
||||||
.wTotalLength = sizeof(_app_conf_desc_e1d),
|
.wTotalLength = sizeof(_app_conf_desc_e1d),
|
||||||
.bNumInterfaces = 3,
|
.bNumInterfaces = 2,
|
||||||
.bConfigurationValue = 2,
|
.bConfigurationValue = 2,
|
||||||
.iConfiguration = 7,
|
.iConfiguration = 7,
|
||||||
.bmAttributes = 0x80,
|
.bmAttributes = 0x80,
|
||||||
|
|
Loading…
Reference in New Issue