We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d7735 commit 2f304d1Copy full SHA for 2f304d1
include/net/bluetooth/hci_core.h
@@ -572,7 +572,7 @@ void hci_conn_put_device(struct hci_conn *conn);
572
static inline void hci_conn_hold(struct hci_conn *conn)
573
{
574
atomic_inc(&conn->refcnt);
575
- cancel_delayed_work_sync(&conn->disc_work);
+ cancel_delayed_work(&conn->disc_work);
576
}
577
578
static inline void hci_conn_put(struct hci_conn *conn)
@@ -591,7 +591,7 @@ static inline void hci_conn_put(struct hci_conn *conn)
591
} else {
592
timeo = msecs_to_jiffies(10);
593
594
595
queue_delayed_work(conn->hdev->workqueue,
596
&conn->disc_work, timeo);
597
0 commit comments