]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/bluetooth/hci_core.c
Bluetooth: Use struct delayed_work for HCI command timeout
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Jun 2014 10:30:56 +0000 (12:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:42 +0000 (17:42 +0200)
commit65cc2b49db63adf1455a9783234383fbec5b8314
tree880d1d7ae9174088692e8f4d694a265af2a9e570
parentd9fbd02be5c201c1659ee0d79c0820bb68d95c8c
Bluetooth: Use struct delayed_work for HCI command timeout

Since the whole HCI command, event and data packet processing has been
migrated to use workqueues instead of tasklets, it makes sense to use
struct delayed_work instead of struct timer_list for the timeout
handling. This patch converts the hdev->cmd_timer to use workqueue
as well.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c