/* USB hub control transfer to set the hub depth. */
EFI_STATUS UsbHubCtrlSetHubDepth(IN USB_DEVICE *HubDev, IN UINT16 Depth)
/* USB hub control transfer to set the hub depth. */
EFI_STATUS UsbHubCtrlSetHubDepth(IN USB_DEVICE *HubDev, IN UINT16 Depth)
{
  EFI_STATUS  Status;
  Status = UsbCtrlRequest (
             HubDev,
             EfiUsbNoData,
             USB_REQ_TYPE_CLASS,
             USB_HUB_TARGET_HUB,
             USB_HUB_REQ_SET_DEPTH,
             Depth,
             0,
             NULL,
             0
             );
  return Status;
}