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:
Johann Fischer 2023-01-05 14:26:40 +01:00 committed by Carles Cufí
commit 7a90b221a5

View file

@ -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);
}