Re: [PATCH] 2.5.69 : drivers/bluetooth/hci_usb.c

Marcel Holtmann (marcel@holtmann.org)
05 May 2003 23:07:01 +0200


Hi Michael,

> And I suspect, this patch is wrong. :)

here is the correct patch.

Regards

Marcel

diff -Nru a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c
--- a/drivers/bluetooth/hci_usb.c Mon May 5 23:04:11 2003
+++ b/drivers/bluetooth/hci_usb.c Mon May 5 23:04:11 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 @@
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/