mirror of
https://github.com/espressif/esp-idf.git
synced 2026-01-19 05:27:11 +00:00
fix(nimble): Add packet sending change in case of controller only configuration
This commit is contained in:
@@ -26,7 +26,8 @@ hci_transport_controller_packet_rx(hci_driver_data_type_t data_type, uint8_t *da
|
||||
r_ble_hci_trans_hs_cmd_tx(data);
|
||||
}
|
||||
|
||||
#if CONFIG_BT_BLUEDROID_ENABLED || (CONFIG_BT_NIMBLE_ENABLED && (CONFIG_BT_NIMBLE_ROLE_CENTRAL || CONFIG_BT_NIMBLE_ROLE_PERIPHERAL))
|
||||
#if CONFIG_BT_CONTROLLER_ONLY || CONFIG_BT_BLUEDROID_ENABLED || \
|
||||
(CONFIG_BT_NIMBLE_ENABLED && (CONFIG_BT_NIMBLE_ROLE_CENTRAL || CONFIG_BT_NIMBLE_ROLE_PERIPHERAL))
|
||||
if (data_type == HCI_DRIVER_TYPE_ACL) {
|
||||
r_ble_hci_trans_hs_acl_tx((struct os_mbuf *) data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user