projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbff5b4
)
Darwin: write iso transfer details into correct packets
author
Hoi-Ho Chan
<hoiho.chan@gmail.com>
Sat, 24 Jul 2010 19:48:00 +0000
(13:48 -0600)
committer
Daniel Drake
<dan@reactivated.net>
Sat, 24 Jul 2010 19:48:00 +0000
(13:48 -0600)
libusb/os/darwin_usb.c
patch
|
blob
|
history
diff --git
a/libusb/os/darwin_usb.c
b/libusb/os/darwin_usb.c
index
292e79c
..
6adcb27
100644
(file)
--- 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;
}