lkml.org 
[lkml]   [2003]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [COMPILATION ERROR] 2.5.69 drivers/bluetooth/hci_usb.c USB_ZERO_PACKET
Grzegorz Jaskiewicz <gj@pointblue.com.pl> :
[...]
> If so, please give me some hints i will correct it my self :)

If I remember M. KH's message of last week, it should be something like the
following patch. Now I can't remember who he told it should be sent to :o)

Typo: s/USB_ZERO_PACKET/URB_ZERO_PACKET/



drivers/bluetooth/hci_usb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -puN drivers/bluetooth/hci_usb.c~typo-usb_zero_packet drivers/bluetooth/hci_usb.c
--- linux-2.5.69-1.1042.1.187-to-1.1063/drivers/bluetooth/hci_usb.c~typo-usb_zero_packet Mon May 5 21:37:01 2003
+++ linux-2.5.69-1.1042.1.187-to-1.1063-fr/drivers/bluetooth/hci_usb.c Mon May 5 21:37:01 2003
@@ -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(stru
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);

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [from the cache]
©2003-2011 Jasper Spaans