aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/wusbcore/rh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/wusbcore/rh.c b/drivers/usb/wusbcore/rh.c
index aa5af817f31c..a082fe62b1f0 100644
--- a/drivers/usb/wusbcore/rh.c
+++ b/drivers/usb/wusbcore/rh.c
@@ -182,7 +182,7 @@ static int wusbhc_rh_get_hub_descr(struct wusbhc *wusbhc, u16 wValue,
182 if (wLength < length) 182 if (wLength < length)
183 return -ENOSPC; 183 return -ENOSPC;
184 descr->bDescLength = 7 + 2 * temp; 184 descr->bDescLength = 7 + 2 * temp;
185 descr->bDescriptorType = 0x29; /* HUB type */ 185 descr->bDescriptorType = USB_DT_HUB; /* HUB type */
186 descr->bNbrPorts = wusbhc->ports_max; 186 descr->bNbrPorts = wusbhc->ports_max;
187 descr->wHubCharacteristics = cpu_to_le16( 187 descr->wHubCharacteristics = cpu_to_le16(
188 HUB_CHAR_COMMON_LPSM /* All ports power at once */ 188 HUB_CHAR_COMMON_LPSM /* All ports power at once */