don't give error for correct async control transfer

This commit is contained in:
matthias.ringwald@gmail.com 2013-03-07 14:57:09 +00:00
parent 75375c8e99
commit 941fd279e0

View File

@ -577,7 +577,7 @@ static int usb_send_cmd_packet(uint8_t *packet, int size){
// LIBUSB_REQUEST_TYPE_CLASS | LIBUSB_RECIPIENT_INTERFACE,
// 0, 0, 0, packet, size, 0);
if (r < 0 || r !=size ) {
if (r < 0) {
log_error("Error submitting control transfer %d", r);
return -1;
}