diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libirecovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index c13572e..6e553eb 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c | |||
| @@ -1027,7 +1027,7 @@ static irecv_error_t iokit_usb_open_service(irecv_client_t *pclient, io_service_ | |||
| 1027 | IOObjectRelease(service); | 1027 | IOObjectRelease(service); |
| 1028 | 1028 | ||
| 1029 | // Create the device interface | 1029 | // Create the device interface |
| 1030 | result = (*plug)->QueryInterface(plug, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID *)&(client->handle)); | 1030 | result = (*plug)->QueryInterface(plug, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID320), (LPVOID *)&(client->handle)); |
| 1031 | IODestroyPlugInInterface(plug); | 1031 | IODestroyPlugInInterface(plug); |
| 1032 | if (result != kIOReturnSuccess) { | 1032 | if (result != kIOReturnSuccess) { |
| 1033 | free(client); | 1033 | free(client); |
| @@ -1412,7 +1412,7 @@ static irecv_error_t iokit_usb_set_interface(irecv_client_t client, int usb_inte | |||
| 1412 | return IRECV_E_USB_INTERFACE; | 1412 | return IRECV_E_USB_INTERFACE; |
| 1413 | } | 1413 | } |
| 1414 | 1414 | ||
| 1415 | result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBInterfaceInterfaceID), (LPVOID)&client->usbInterface); | 1415 | result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBInterfaceInterfaceID300), (LPVOID)&client->usbInterface); |
| 1416 | IODestroyPlugInInterface(plugInInterface); | 1416 | IODestroyPlugInInterface(plugInInterface); |
| 1417 | if (result != kIOReturnSuccess) { | 1417 | if (result != kIOReturnSuccess) { |
| 1418 | debug("error creating interface interface: %#x\n", result); | 1418 | debug("error creating interface interface: %#x\n", result); |
