aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-03-20 15:20:04 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-05-10 09:34:03 +0200
commitf48fd9c8cd746fdb055a97249a209c77dca0f710 (patch)
treea3ab4ba27edc43bf3527a02fd7c6ba4167213056 /include/net
parent844c0972427ee5f661158160aaca10b22b3dda60 (diff)
downloadkernel_samsung_aries-f48fd9c8cd746fdb055a97249a209c77dca0f710.zip
kernel_samsung_aries-f48fd9c8cd746fdb055a97249a209c77dca0f710.tar.gz
kernel_samsung_aries-f48fd9c8cd746fdb055a97249a209c77dca0f710.tar.bz2
Bluetooth: Create per controller workqueue
Instead of having a global workqueue for all controllers, it makes more sense to have a workqueue per controller. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 4511df2..e42f6ed 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -107,6 +107,8 @@ struct hci_dev {
unsigned long acl_last_tx;
unsigned long sco_last_tx;
+ struct workqueue_struct *workqueue;
+
struct tasklet_struct cmd_task;
struct tasklet_struct rx_task;
struct tasklet_struct tx_task;