diff --git a/components/bt/esp_ble_mesh/core/main.c b/components/bt/esp_ble_mesh/core/main.c index dac0f90c7a88..ad94e2c88b2a 100644 --- a/components/bt/esp_ble_mesh/core/main.c +++ b/components/bt/esp_ble_mesh/core/main.c @@ -109,7 +109,7 @@ void bt_mesh_node_reset(void) return; } - if (bt_prov_active()) { + if (bt_mesh_prov_active()) { BT_WARN("%s, link is still active", __func__); return; }