Lines 583-589
Link Here
|
583 |
libusb_context *ctx; |
577 |
libusb_context *ctx; |
584 |
int ret; |
578 |
int ret; |
585 |
|
579 |
|
586 |
ctx = GET_CONTEXT(NULL); |
580 |
ctx = libusb_get_device(devh)->ctx; |
|
|
581 |
ctx = GET_CONTEXT(ctx); |
587 |
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_bulk_transfer enter"); |
582 |
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_bulk_transfer enter"); |
588 |
|
583 |
|
589 |
ret = libusb10_do_transfer(devh, endpoint, data, length, transferred, |
584 |
ret = libusb10_do_transfer(devh, endpoint, data, length, transferred, |
Lines 601-607
Link Here
|
601 |
libusb_context *ctx; |
596 |
libusb_context *ctx; |
602 |
int ret; |
597 |
int ret; |
603 |
|
598 |
|
604 |
ctx = GET_CONTEXT(NULL); |
599 |
ctx = libusb_get_device(devh)->ctx; |
|
|
600 |
ctx = GET_CONTEXT(ctx); |
605 |
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_interrupt_transfer enter"); |
601 |
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_interrupt_transfer enter"); |
606 |
|
602 |
|
607 |
ret = libusb10_do_transfer(devh, endpoint, data, length, transferred, |
603 |
ret = libusb10_do_transfer(devh, endpoint, data, length, transferred, |