usb: device: bluetooth: remove USB_TRANS_NO_ZLP for OUT transfers
USB_TRANS_NO_ZLP flag has no meaning for usb_transfer() in host-to-device direction (USB_TRANS_READ). Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
036e4f2902
commit
7a90b221a5
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ static void acl_read_cb(uint8_t ep, int size, void *priv)
|
|||
|
||||
restart_out_transfer:
|
||||
usb_transfer(bluetooth_ep_data[HCI_OUT_EP_IDX].ep_addr, ep_out_buf,
|
||||
sizeof(ep_out_buf), USB_TRANS_READ | USB_TRANS_NO_ZLP,
|
||||
sizeof(ep_out_buf), USB_TRANS_READ,
|
||||
acl_read_cb, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue