diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-03-25 21:07:45 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-04-13 09:18:16 -0400 |
| commit | d288f4db0909c22342eb50cd1632b4d850517281 (patch) | |
| tree | 68636e9f120bfe97079d03035a3299b01831e8f0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7b75867803a8712bdf7683c31d71d3d5e28ce821 (diff) | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
