Bluetooth: Convert auto accept timer to use delayed work

Since the entire Bluetooth subsystem runs in workqueues these days there
is no need to use a timer for deferring work.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Johan Hedberg
2013-10-16 09:12:12 -07:00
committed by Marcel Holtmann
parent bfe4655f05
commit 7bc18d9d3d
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -341,8 +341,8 @@ struct hci_conn {
struct list_head chan_list;
struct delayed_work disc_work;
struct delayed_work auto_accept_work;
struct timer_list idle_timer;
struct timer_list auto_accept_timer;
struct device dev;