summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWeihong Guan <weihong.guan@gmail.com>2026-11-11 16:51:32 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-11-11 14:52:07 -0500
commit8b1eff978e66efb5ed66b79591851203d05ab303 (patch)
treee1ddd0a73426ddcfe088e61f5198a7ebcc21cf68 /tools/perf/scripts/python
parente7e877bf658acd15fc7dda1bff3e66d0fa69a061 (diff)
Bluetooth: hci_core: Add hci_free_adv_instance()
hci_remove_adv_instance() looks the instance up by its number and then frees it. A caller that already holds the instance, found some other way, has to look it up again by number to remove it. Split the freeing into hci_free_adv_instance(), which takes the instance itself, and have hci_remove_adv_instance() call it after the lookup. No functional change. Suggested-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Assisted-by: Claude:claude-opus-5.5 Signed-off-by: Weihong Guan <weihong.guan@gmail.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions