From 143e986cdfeedcc5ec3289a5c2011e93cec1b6cf Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Tue, 15 Sep 2026 21:00:36 +0530 Subject: [PATCH] fix(nimble): Fix dual-mode eventq NULL check --- porting/nimble/src/nimble_port.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c index 87d93d9b9..50b3b596a 100644 --- a/porting/nimble/src/nimble_port.c +++ b/porting/nimble/src/nimble_port.c @@ -464,7 +464,11 @@ void nimble_port_run(void) return; } #endif +#if CONFIG_BT_DUAL_MODE_ARCH + if (g_eventq_dflt.eventq.eventq == NULL) { +#else if (g_eventq_dflt.eventq == NULL) { +#endif ESP_LOGE(NIMBLE_PORT_LOG_TAG, "nimble event queue not initialized, host task exiting"); return; }