summaryrefslogtreecommitdiff
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorStefan Sørensen <ssorensen@roku.com>2025-12-16 10:20:09 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-01-29 13:23:26 -0500
commit49d0901e260739de2fcc90c0c29f9e31e39a2d9b (patch)
treef7005a273991a06d51e06b86f8e1f18583807be8 /include/net/bluetooth
parent544a237adaaf95e8aff1964c6d2182a915a8692e (diff)
Bluetooth: hci_conn: use mod_delayed_work for active mode timeout
hci_conn_enter_active_mode() uses queue_delayed_work() with the intention that the work will run after the given timeout. However, queue_delayed_work() does nothing if the work is already queued, so depending on the link policy we may end up putting the connection into idle mode every hdev->idle_timeout ms. Use mod_delayed_work() instead so the work is queued if not already queued, and the timeout is updated otherwise. Signed-off-by: Stefan Sørensen <ssorensen@roku.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth')
0 files changed, 0 insertions, 0 deletions