Commit aad08544 authored by David S. Miller's avatar David S. Miller

[BLUETOOTH]: Fix hci_usb build.

parent 6d9746f6
......@@ -64,8 +64,8 @@
#endif
#ifndef CONFIG_BT_USB_ZERO_PACKET
#undef USB_ZERO_PACKET
#define USB_ZERO_PACKET 0
#undef URB_ZERO_PACKET
#define URB_ZERO_PACKET 0
#endif
static struct usb_driver hci_usb_driver;
......@@ -458,7 +458,7 @@ static inline int hci_usb_send_bulk(struct hci_usb *husb, struct sk_buff *skb)
pipe = usb_sndbulkpipe(husb->udev, husb->bulk_out_ep->desc.bEndpointAddress);
usb_fill_bulk_urb(urb, husb->udev, pipe, skb->data, skb->len,
hci_usb_tx_complete, husb);
urb->transfer_flags = USB_ZERO_PACKET;
urb->transfer_flags = URB_ZERO_PACKET;
BT_DBG("%s skb %p len %d", husb->hdev.name, skb, skb->len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment