ehci-hub: use USB_DT_HUB
[cascardo/linux.git] / drivers / usb / host / ehci-hub.c
index 87cf86f..d7b4b51 100644 (file)
@@ -688,7 +688,7 @@ ehci_hub_descriptor (
        int             ports = HCS_N_PORTS (ehci->hcs_params);
        u16             temp;
 
-       desc->bDescriptorType = 0x29;
+       desc->bDescriptorType = USB_DT_HUB;
        desc->bPwrOn2PwrGood = 10;      /* ehci 1.0, 2.3.9 says 20ms max */
        desc->bHubContrCurrent = 0;