mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-06 05:14:45 +00:00
1. Always invoke ble_transport_ll_init in esp_nimble_init().
2. Add ble_transport_ll_init for legacy vhci
This commit is contained in:
@@ -25,3 +25,9 @@ ble_transport_to_ll_acl_impl(struct os_mbuf *om)
|
||||
return ble_hci_trans_hs_acl_tx(om);
|
||||
}
|
||||
|
||||
void
|
||||
ble_transport_ll_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -124,9 +124,7 @@ esp_err_t esp_nimble_init(void)
|
||||
#endif
|
||||
/* Initialize the host */
|
||||
ble_transport_hs_init();
|
||||
#if SOC_ESP_NIMBLE_CONTROLLER || CONFIG_BT_CONTROLLER_DISABLED
|
||||
ble_transport_ll_init();
|
||||
#endif
|
||||
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user