Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux...
[deliverable/linux.git] / drivers / usb / wusbcore / rh.c
index aa5af817f31c9b96de3e07f6fd1baff06035fab8..a082fe62b1f0c2cd0a2be1acc1226da8a04b530a 100644 (file)
@@ -182,7 +182,7 @@ static int wusbhc_rh_get_hub_descr(struct wusbhc *wusbhc, u16 wValue,
        if (wLength < length)
                return -ENOSPC;
        descr->bDescLength = 7 + 2 * temp;
-       descr->bDescriptorType = 0x29;  /* HUB type */
+       descr->bDescriptorType = USB_DT_HUB; /* HUB type */
        descr->bNbrPorts = wusbhc->ports_max;
        descr->wHubCharacteristics = cpu_to_le16(
                HUB_CHAR_COMMON_LPSM    /* All ports power at once */
This page took 0.044935 seconds and 5 git commands to generate.