diff options
author | Suraj Sumangala <suraj@atheros.com> | 2010-07-14 07:32:16 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-21 17:39:12 (GMT) |
commit | cd4c53919ed50b0d532f106aeb76e79077bece98 (patch) | |
tree | db669259c941d543a12014fc0d69103a4e368cea /include/net | |
parent | 0a79f67445de50ca0a8dc1d34f3cc406d89c28b2 (diff) | |
download | linux-cd4c53919ed50b0d532f106aeb76e79077bece98.tar.xz |
Bluetooth: Add one more buffer for HCI stream reassembly
Additional reassembly buffer to keep track of stream reasembly
Signed-off-by: Suraj Sumangala <suraj@atheros.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 600372d..28e5eee 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -66,7 +66,7 @@ struct bdaddr_list { struct list_head list; bdaddr_t bdaddr; }; - +#define NUM_REASSEMBLY 4 struct hci_dev { struct list_head list; spinlock_t lock; @@ -123,7 +123,7 @@ struct hci_dev { struct sk_buff_head cmd_q; struct sk_buff *sent_cmd; - struct sk_buff *reassembly[3]; + struct sk_buff *reassembly[NUM_REASSEMBLY]; struct mutex req_lock; wait_queue_head_t req_wait_q; |