diff options
author | Hoi-Ho Chan <hoiho.chan@gmail.com> | 2010-07-24 13:48:00 -0600 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-07-29 11:25:11 +0100 |
commit | 8f014a89fba27091698d55cab206e9325655efbc (patch) | |
tree | 61030d4691818c221d9014ad8b06acaff7adc177 | |
parent | 82cb50a5abba7dc0b80a21985d2aeb5ba6a3ed9c (diff) | |
download | libusb-8f014a89fba27091698d55cab206e9325655efbc.tar.gz |
Darwin: write iso transfer details into correct packets
-rw-r--r-- | libusb/os/darwin_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c index 292e79c..6adcb27 100644 --- a/libusb/os/darwin_usb.c +++ b/libusb/os/darwin_usb.c @@ -1376,7 +1376,7 @@ static void darwin_handle_callback (struct usbi_transfer *itransfer, kern_return /* copy isochronous results back */ for (i = 0; i < transfer->num_iso_packets ; i++) { - struct libusb_iso_packet_descriptor *lib_desc = transfer->iso_packet_desc; + struct libusb_iso_packet_descriptor *lib_desc = &transfer->iso_packet_desc[i]; lib_desc->status = darwin_to_libusb (tpriv->isoc_framelist[i].frStatus); lib_desc->actual_length = tpriv->isoc_framelist[i].frActCount; } |