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:
Shen Weilong
2024-05-28 14:51:32 +08:00
committed by zwl
parent 97793f4889
commit ec9f21253a
2 changed files with 6 additions and 2 deletions
@@ -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)
{
}
-2
View File
@@ -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;
}