summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorGustavo F. Padovan2011-06-20 21:39:29 +0200
committerGustavo F. Padovan2011-12-18 20:07:55 +0100
commitdb323f2fff0ded058f033df6235e8c2be4146bfd (patch)
tree4e267f325506f2cff3b496dc1c52cde57c4a74fd /include/net/bluetooth/hci_core.h
parentBluetooth: Use delayed_work for connection timeout (diff)
downloadkernel-qcow2-linux-db323f2fff0ded058f033df6235e8c2be4146bfd.tar.gz
kernel-qcow2-linux-db323f2fff0ded058f033df6235e8c2be4146bfd.tar.xz
kernel-qcow2-linux-db323f2fff0ded058f033df6235e8c2be4146bfd.zip
Bluetooth: Use delayed work for advertisiment cache timeout
As HCI rx path is now done in process context it makes sense to do all the timer in process context as well. Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index d91590850429..14b200b08d84 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -226,7 +226,7 @@ struct hci_dev {
struct list_head remote_oob_data;
struct list_head adv_entries;
- struct timer_list adv_timer;
+ struct delayed_work adv_work;
struct hci_dev_stats stat;