From 87dd8bdc0374572bfde0067b068fafb7bf2374e1 Mon Sep 17 00:00:00 2001 From: Abhinav Kudnar Date: Tue, 1 Oct 2024 20:00:28 +0800 Subject: [PATCH] fix(nimble): Fix the sequence of ll and host transport init --- porting/nimble/src/nimble_port.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c index b565443f2..fa7459e83 100644 --- a/porting/nimble/src/nimble_port.c +++ b/porting/nimble/src/nimble_port.c @@ -122,9 +122,10 @@ esp_err_t esp_nimble_init(void) os_msys_init(); #endif + + ble_transport_ll_init(); /* Initialize the host */ ble_transport_hs_init(); - ble_transport_ll_init(); return ESP_OK; }