aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorSuraj Sumangala <suraj@atheros.com>2010-07-14 03:32:16 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 13:39:12 -0400
commitcd4c53919ed50b0d532f106aeb76e79077bece98 (patch)
treedb669259c941d543a12014fc0d69103a4e368cea /include/net
parent0a79f67445de50ca0a8dc1d34f3cc406d89c28b2 (diff)
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 600372d44578..28e5eeefdec8 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -66,7 +66,7 @@ struct bdaddr_list {
66 struct list_head list; 66 struct list_head list;
67 bdaddr_t bdaddr; 67 bdaddr_t bdaddr;
68}; 68};
69 69#define NUM_REASSEMBLY 4
70struct hci_dev { 70struct hci_dev {
71 struct list_head list; 71 struct list_head list;
72 spinlock_t lock; 72 spinlock_t lock;
@@ -123,7 +123,7 @@ struct hci_dev {
123 struct sk_buff_head cmd_q; 123 struct sk_buff_head cmd_q;
124 124
125 struct sk_buff *sent_cmd; 125 struct sk_buff *sent_cmd;
126 struct sk_buff *reassembly[3]; 126 struct sk_buff *reassembly[NUM_REASSEMBLY];
127 127
128 struct mutex req_lock; 128 struct mutex req_lock;
129 wait_queue_head_t req_wait_q; 129 wait_queue_head_t req_wait_q;