summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-12-06 13:31:58 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-12-06 13:31:58 -0800
commit33b84917ee9645a1fbef9173ee6e1df47cc8ff2c (patch)
treee79d3a2a70c32f2546108f8f4fd5cdf15b1b3f23 /tools
parent9a550d43b84ed808ff2a678b0117a8e14355d80c (diff)
downloadbluez-33b84917ee9645a1fbef9173ee6e1df47cc8ff2c.tar.gz
bthost: Add callback to accept ISO connections
This enables setting an accept callback which can return reject reason if the connection shall not be accepted.
Diffstat (limited to 'tools')
-rw-r--r--tools/iso-tester.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iso-tester.c b/tools/iso-tester.c
index 269fbe2d6..d29f35695 100644
--- a/tools/iso-tester.c
+++ b/tools/iso-tester.c
@@ -752,7 +752,7 @@ static void setup_powered_callback(uint8_t status, uint16_t length,
continue;
if (isodata->send || isodata->recv || isodata->disconnect)
- bthost_set_iso_cb(host, iso_new_conn, data);
+ bthost_set_iso_cb(host, NULL, iso_new_conn, data);
if (isodata->bcast) {
bthost_set_pa_params(host);