From 7213c85c0e9838b20c7ba28d61d8899de74ee31d Mon Sep 17 00:00:00 2001 From: chrysn Date: Sat, 4 Jan 2025 14:48:06 +0100 Subject: [PATCH] pkg/nimble: Run ble_ll_init --- pkg/nimble/patches/0006-ble_ll_init.patch | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkg/nimble/patches/0006-ble_ll_init.patch diff --git a/pkg/nimble/patches/0006-ble_ll_init.patch b/pkg/nimble/patches/0006-ble_ll_init.patch new file mode 100644 index 000000000000..c1eeb898c439 --- /dev/null +++ b/pkg/nimble/patches/0006-ble_ll_init.patch @@ -0,0 +1,31 @@ +From e2e940c4e996c1c3da78948b08974a93aa69ddac Mon Sep 17 00:00:00 2001 +From: chrysn +Date: Sat, 4 Jan 2025 14:26:23 +0100 +Subject: [PATCH] port: Call ble_ll_init + +Forwarded: https://github.com/apache/mynewt-nimble/pull/1956 + +--- + porting/nimble/src/nimble_port.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c +index bb26f22a..cd0cd004 100644 +--- a/porting/nimble/src/nimble_port.c ++++ b/porting/nimble/src/nimble_port.c +@@ -31,10 +31,12 @@ static struct ble_npl_eventq g_eventq_dflt; + + extern void os_msys_init(void); + extern void os_mempool_module_init(void); ++extern void ble_ll_init(void); + + void + nimble_port_init(void) + { ++ ble_ll_init(); + /* Initialize default event queue */ + ble_npl_eventq_init(&g_eventq_dflt); + /* Initialize the global memory pool */ +-- +2.45.2 +