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:
committed by
Marcel Holtmann
parent
bfe4655f05
commit
7bc18d9d3d
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user