Commit 7a90b221 authored by Johann Fischer's avatar Johann Fischer Committed by Carles Cufi
Browse files

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: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent 036e4f29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}