Commit cf5910bb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: add bMaxPacketSize0 attribute to sysfs

For some reason this was not there...
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7ac3db59
...@@ -196,6 +196,7 @@ usb_descriptor_attr (bDeviceClass, "%02x\n") ...@@ -196,6 +196,7 @@ usb_descriptor_attr (bDeviceClass, "%02x\n")
usb_descriptor_attr (bDeviceSubClass, "%02x\n") usb_descriptor_attr (bDeviceSubClass, "%02x\n")
usb_descriptor_attr (bDeviceProtocol, "%02x\n") usb_descriptor_attr (bDeviceProtocol, "%02x\n")
usb_descriptor_attr (bNumConfigurations, "%d\n") usb_descriptor_attr (bNumConfigurations, "%d\n")
usb_descriptor_attr (bMaxPacketSize0, "%d\n")
static struct attribute *dev_attrs[] = { static struct attribute *dev_attrs[] = {
/* current configuration's attributes */ /* current configuration's attributes */
...@@ -211,6 +212,7 @@ static struct attribute *dev_attrs[] = { ...@@ -211,6 +212,7 @@ static struct attribute *dev_attrs[] = {
&dev_attr_bDeviceSubClass.attr, &dev_attr_bDeviceSubClass.attr,
&dev_attr_bDeviceProtocol.attr, &dev_attr_bDeviceProtocol.attr,
&dev_attr_bNumConfigurations.attr, &dev_attr_bNumConfigurations.attr,
&dev_attr_bMaxPacketSize0.attr,
&dev_attr_speed.attr, &dev_attr_speed.attr,
&dev_attr_devnum.attr, &dev_attr_devnum.attr,
&dev_attr_version.attr, &dev_attr_version.attr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment