summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2026-03-25 22:07:45 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-04-13 16:18:16 +0300
commitd288f4db0909c22342eb50cd1632b4d850517281 (patch)
tree68636e9f120bfe97079d03035a3299b01831e8f0 /include/linux/errqueue.h
parent7b75867803a8712bdf7683c31d71d3d5e28ce821 (diff)
downloadlinux-d288f4db0909c22342eb50cd1632b4d850517281.tar.xz
Bluetooth: hci_sync: make hci_cmd_sync_run_once return -EEXIST if exists
hci_cmd_sync_run_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 vs. the changes. The only callsite is hci_abort_conn(). Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions