diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-07-11 06:42:35 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-07-11 06:42:35 +0200 |
commit | babf4d42d0a41ff58463b0a0515683cdce66f541 (patch) | |
tree | 690c1e0a2e06bad2e16a4ab87221b6d63bc9e3da /drivers/bluetooth/hci_usb.h | |
parent | ef222013fc8c1a2fcba5c7ab169be8ffcb778ec4 (diff) | |
download | lwn-babf4d42d0a41ff58463b0a0515683cdce66f541.tar.gz lwn-babf4d42d0a41ff58463b0a0515683cdce66f541.zip |
[Bluetooth] Use hci_recv_fragment() within HCI USB driver
This patch modifies the HCI USB driver to use the new helper function
for reassembling HCI data packets and events.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_usb.h')
-rw-r--r-- | drivers/bluetooth/hci_usb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/bluetooth/hci_usb.h b/drivers/bluetooth/hci_usb.h index 963fc55cdc85..56cd3a92ceca 100644 --- a/drivers/bluetooth/hci_usb.h +++ b/drivers/bluetooth/hci_usb.h @@ -102,9 +102,9 @@ struct hci_usb { struct hci_dev *hdev; unsigned long state; - + struct usb_device *udev; - + struct usb_host_endpoint *bulk_in_ep; struct usb_host_endpoint *bulk_out_ep; struct usb_host_endpoint *intr_in_ep; @@ -116,7 +116,6 @@ struct hci_usb { __u8 ctrl_req; struct sk_buff_head transmit_q[4]; - struct sk_buff *reassembly[4]; /* Reassembly buffers */ rwlock_t completion_lock; |