Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 26 Aug 2024 19:47:30 +0000 (15:47 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 30 Aug 2024 21:56:34 +0000 (17:56 -0400)
commitc898f6d7b093bd71e66569cd6797c87d4056f44b
tree4ac574ac138a90b0f5dc4d20a98cf139a25e2f37
parent8ae22de9d2eae3c432de64bf2b3a5a69cf1d1124
Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once

This introduces hci_cmd_sync_run/hci_cmd_sync_run_once which acts like
hci_cmd_sync_queue/hci_cmd_sync_queue_once but runs immediately when
already on hdev->cmd_sync_work context.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_sync.h
net/bluetooth/hci_sync.c