diff --git a/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c b/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c index 99fb7451a6..eac28d4abc 100644 --- a/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c +++ b/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c @@ -227,20 +227,10 @@ static const esp_vhci_host_callback_t vhci_host_cb = { .notify_host_recv = host_rcv_pkt, }; -static void ble_buf_free(void) -{ - os_msys_buf_free(); -} -static esp_err_t ble_buf_alloc(void) -{ - if (os_msys_buf_alloc()) { - return ESP_ERR_NO_MEM; - } - - return ESP_OK; -} extern void ble_transport_init(void); +extern esp_err_t ble_buf_alloc(void); +extern void ble_buf_free(void); esp_err_t esp_nimble_hci_init(void) { esp_err_t ret; diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index 86007550e2..46591d402d 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit 86007550e226fd810135558c2aa08acbdc602e95 +Subproject commit 46591d402d5a321707caa40d9b033a7109838283