This is an automated email from the ASF dual-hosted git repository.
kopyscinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new 49912bbd5 host/ble_hs: call ble_iso_rx_data if BLE_ISO_BROADCAST_SINK
49912bbd5 is described below
commit 49912bbd5b9d9d80b031910aa19f8b9ab094c92c
Author: Krzysztof Kopyściński <[email protected]>
AuthorDate: Fri Mar 1 14:22:37 2024 +0100
host/ble_hs: call ble_iso_rx_data if BLE_ISO_BROADCAST_SINK
BLE_ISO defines ISO as whole, but we RX iso data only when device is
broadcast sink.
---
nimble/host/src/ble_hs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/host/src/ble_hs.c b/nimble/host/src/ble_hs.c
index 147837d9f..7983cca18 100644
--- a/nimble/host/src/ble_hs.c
+++ b/nimble/host/src/ble_hs.c
@@ -818,7 +818,7 @@ ble_transport_to_hs_acl_impl(struct os_mbuf *om)
int
ble_transport_to_hs_iso_impl(struct os_mbuf *om)
{
-#if MYNEWT_VAL(BLE_ISO)
+#if MYNEWT_VAL(BLE_ISO_BROADCAST_SINK)
return ble_iso_rx_data(om, NULL);
#else
os_mbuf_free_chain(om);