diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2018-06-01 09:17:20 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2018-06-01 09:17:20 +0000 |
commit | e8a5d07df5abbfbad737598dd8e5932cb4dbb5ac (patch) | |
tree | f38486c4d3a8ce99774cbd22f308a0703953363c /sys/dev | |
parent | 9d4264fbdd79aba676b2272a69d33395dcff9fa5 (diff) | |
download | src-e8a5d07df5abbfbad737598dd8e5932cb4dbb5ac.tar.gz src-e8a5d07df5abbfbad737598dd8e5932cb4dbb5ac.zip |
Set bDeviceClass properly for composite device (template 8). There should
be no functional change.
PR: 203289
Reviewed by: hselasky@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=334476
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/template/usb_template_serialnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/template/usb_template_serialnet.c b/sys/dev/usb/template/usb_template_serialnet.c index b2aea39978a2..928d4f78510a 100644 --- a/sys/dev/usb/template/usb_template_serialnet.c +++ b/sys/dev/usb/template/usb_template_serialnet.c @@ -342,7 +342,7 @@ struct usb_temp_device_desc usb_template_serialnet = { .idVendor = SERIALNET_DEFAULT_VENDOR_ID, .idProduct = SERIALNET_DEFAULT_PRODUCT_ID, .bcdDevice = 0x0100, - .bDeviceClass = UDCLASS_COMM, + .bDeviceClass = UDCLASS_IN_INTERFACE, .bDeviceSubClass = 0, .bDeviceProtocol = 0, .iManufacturer = SERIALNET_MANUFACTURER_INDEX, |