iso-tester: Make use of bthost_add_iso_hook destroy callback
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 22 Aug 2022 21:55:14 +0000 (14:55 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commitdbb3f45103be482eb278e9ea48ce0e13b4f2f91f
treeb42426a70428a21df86056d69591e655072b241e
parent6120fabfb1d3d5839dbade54faa8a4d49afd3aba
iso-tester: Make use of bthost_add_iso_hook destroy callback

This makes use of bthost_add_iso_hook to track when an ISO connection
has been disconnected and then set its handle to 0x0000 which is then
checked when the socket HUP to confirm the remote has properly
disconnected (e.g. received Disconnected Complete).

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