From 33b84917ee9645a1fbef9173ee6e1df47cc8ff2c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 6 Dec 2022 13:31:58 -0800 Subject: 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. --- tools/iso-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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); -- cgit v1.2.1