From 54a38a87e2df702f55679631f7be2470a8c19fb7 Mon Sep 17 00:00:00 2001 From: luoxu Date: Tue, 19 Mar 2024 17:38:17 +0800 Subject: [PATCH] fix(ble_mesh): fix NRF mesh(android) provisioning node failed Closes: https://github.com/espressif/esp-idf/issues/12871 --- components/bt/esp_ble_mesh/core/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/esp_ble_mesh/core/net.c b/components/bt/esp_ble_mesh/core/net.c index 66ae08c80d..4ca54ca820 100644 --- a/components/bt/esp_ble_mesh/core/net.c +++ b/components/bt/esp_ble_mesh/core/net.c @@ -1810,7 +1810,7 @@ void bt_mesh_net_recv(struct net_buf_simple *data, int8_t rssi, bt_mesh_elem_find(rx.ctx.recv_dst)); if (IS_ENABLED(CONFIG_BLE_MESH_GATT_PROXY_SERVER) && - bt_mesh_private_gatt_proxy_state_get() == BLE_MESH_PRIVATE_GATT_PROXY_DISABLED && + bt_mesh_private_gatt_proxy_state_get() != BLE_MESH_PRIVATE_GATT_PROXY_ENABLED && net_if == BLE_MESH_NET_IF_PROXY) { bt_mesh_proxy_server_addr_add(data, rx.ctx.addr);