Commit 7a8167b2 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Marcel Holtmann

[Bluetooth] Compile fix for URB_ZERO_PACKET

This patch fixes the compile problem with URB_ZERO_PACKET.
parent a04eefa1
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
#endif #endif
#ifndef CONFIG_BT_USB_ZERO_PACKET #ifndef CONFIG_BT_USB_ZERO_PACKET
#undef USB_ZERO_PACKET #undef URB_ZERO_PACKET
#define USB_ZERO_PACKET 0 #define URB_ZERO_PACKET 0
#endif #endif
static struct usb_driver hci_usb_driver; 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) ...@@ -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); pipe = usb_sndbulkpipe(husb->udev, husb->bulk_out_ep->desc.bEndpointAddress);
usb_fill_bulk_urb(urb, husb->udev, pipe, skb->data, skb->len, usb_fill_bulk_urb(urb, husb->udev, pipe, skb->data, skb->len,
hci_usb_tx_complete, husb); 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); 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