bthost: Add destroy callback to bthost_add_iso_hook
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 22 Aug 2022 21:54:41 +0000 (14:54 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commit6120fabfb1d3d5839dbade54faa8a4d49afd3aba
treeef23db8c04a7609ac35dc794fdd6591e6f0d2961
parente8566ab91ce01feb0ae5ddd2417b795f3d1c9643
bthost: Add destroy callback to bthost_add_iso_hook

This adds a destroy callback to bthost_add_iso_hook so its user can
detect when the hook is freed when the connection is disconnected.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
emulator/bthost.c
emulator/bthost.h
tools/iso-tester.c