diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-03-25 21:07:43 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-04-01 16:44:38 -0400 |
| commit | 2969554bcfccb5c609f6b6cd4a014933f3a66dd0 (patch) | |
| tree | a7275eb4919b2341c456e319ac3c2716da11a4fb /arch/ppc/git@git.tavy.me:linux.git | |
| parent | 2b2bf47cd75518c36fa2d41380e4a40641cc89cd (diff) | |
Bluetooth: hci_sync: hci_cmd_sync_queue_once() return -EEXIST if exists
hci_cmd_sync_queue_once() needs to indicate whether a queue item was
added, so caller can know if callbacks are called, so it can avoid
leaking resources.
Change the function to return -EEXIST if queue item already exists.
Modify all callsites to handle that.
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'arch/ppc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
