summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann2010-08-09 05:06:53 +0200
committerGustavo F. Padovan2011-12-18 20:07:54 +0100
commitb78752cc71d86998d3b77d873c61d6ffdb7a2142 (patch)
treed1db8a501d3db581adea616621dbe2963f018ca0 /include/net
parentBluetooth: make hci_conn_enter_sniff_mode static (diff)
downloadkernel-qcow2-linux-b78752cc71d86998d3b77d873c61d6ffdb7a2142.tar.gz
kernel-qcow2-linux-b78752cc71d86998d3b77d873c61d6ffdb7a2142.tar.xz
kernel-qcow2-linux-b78752cc71d86998d3b77d873c61d6ffdb7a2142.zip
Bluetooth: Process recv path in a workqueue instead of a tasklet
Run recv process in workqueue helps a lot with our processing as the recv path will also be in the process context, i.e., now all our tx and rx are in process context. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 6a1ac2c2489c..1e28be45c4f2 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -194,8 +194,9 @@ struct hci_dev {
struct delayed_work discov_off;
struct timer_list cmd_timer;
+
+ struct work_struct rx_work;
struct tasklet_struct cmd_task;
- struct tasklet_struct rx_task;
struct tasklet_struct tx_task;
struct sk_buff_head rx_q;