/* Usb hub control transfer to set the port feature. */
EFI_STATUS UsbHubCtrlSetPortFeature(IN USB_DEVICE *HubDev, IN UINT8 Port, IN UINT8 Feature)
/* Usb hub control transfer to set the port feature. */
EFI_STATUS UsbHubCtrlSetPortFeature(IN USB_DEVICE *HubDev, IN UINT8 Port, IN UINT8 Feature)
{
  EFI_STATUS  Status;
  Status = UsbCtrlRequest (
             HubDev,
             EfiUsbNoData,
             USB_REQ_TYPE_CLASS,
             USB_HUB_TARGET_PORT,
             USB_HUB_REQ_SET_FEATURE,
             Feature,
             (UINT16)(Port + 1),
             NULL,
             0
             );
  return Status;
}