mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-30 22:57:53 +00:00
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.
This commit is contained in:
committed by
Krzysztof Kopyściński
parent
a04a6d2ce6
commit
49912bbd5b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user