mirror of
https://github.com/RPCS3/libusb.git
synced 2026-01-31 01:25:19 +01:00
Windows: Fix hid_abort_transfers blocking
Closes #392 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
This commit is contained in:
@@ -3671,7 +3671,7 @@ static int hid_abort_transfers(int sub_api, struct usbi_transfer *itransfer)
|
||||
}
|
||||
usbi_dbg("will use interface %d", current_interface);
|
||||
|
||||
hid_handle = handle_priv->interface_handle[current_interface].dev_handle;
|
||||
hid_handle = handle_priv->interface_handle[current_interface].api_handle;
|
||||
|
||||
if (pCancelIoEx != NULL) {
|
||||
// Use CancelIoEx if available to cancel just a single transfer
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11299
|
||||
#define LIBUSB_NANO 11300
|
||||
|
||||
Reference in New Issue
Block a user