log actual length for USB transfers

This commit is contained in:
matthias.ringwald@gmail.com 2013-03-07 17:26:03 +00:00
parent 559e517e9c
commit b8b6afaf59

View File

@ -258,12 +258,12 @@ static void handle_completed_transfer(struct libusb_transfer *transfer){
resubmit = 1;
} else if (transfer->endpoint == acl_out_addr){
log_info("acl out done");
log_info("acl out done, size %u", transfer->actual_length);
usb_acl_out_active = 0;
resubmit = 0;
} else if (transfer->endpoint == 0){
log_info("command done");
log_info("command done, size %u", transfer->actual_length);
usb_command_active = 0;
resubmit = 0;