mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +00:00
don't give error for correct async control transfer
This commit is contained in:
parent
75375c8e99
commit
941fd279e0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user