mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-02-21 14:43:20 +00:00
This patch correct the USB request type which set wrong direction in original code. It caused these important usb control transfer packets send to phsical USB devices via libusb_control_transfer instead of calling standard libusb APIs, likes libusb_set_configuration. From libusb document, this is not the correct way: "You should always use this function rather than formulating your own SET_CONFIGURATION control request. This is because the underlying operating system needs to know when such changes happen." Change-Id: I7a6aade326220bee3b685086584920dacd37f87c Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>