aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/usbip/vhci_hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index 11f6f61c2381..e9ef1eccdace 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@@ -216,7 +216,7 @@ done:
216static inline void hub_descriptor(struct usb_hub_descriptor *desc) 216static inline void hub_descriptor(struct usb_hub_descriptor *desc)
217{ 217{
218 memset(desc, 0, sizeof(*desc)); 218 memset(desc, 0, sizeof(*desc));
219 desc->bDescriptorType = 0x29; 219 desc->bDescriptorType = USB_DT_HUB;
220 desc->bDescLength = 9; 220 desc->bDescLength = 9;
221 desc->wHubCharacteristics = __constant_cpu_to_le16( 221 desc->wHubCharacteristics = __constant_cpu_to_le16(
222 HUB_CHAR_INDV_PORT_LPSM | HUB_CHAR_COMMON_OCPM); 222 HUB_CHAR_INDV_PORT_LPSM | HUB_CHAR_COMMON_OCPM);