Skip to content

Commit

Permalink
Merge branch 'bigfix/BLEQABR23-503_v51' into 'release/v5.1'
Browse files Browse the repository at this point in the history
fix(ble_mesh): reject node-reseting when provision link is active (V5.1)

See merge request espressif/esp-idf!25849
  • Loading branch information
jack0c committed Jan 2, 2024
2 parents bc23890 + 53b013f commit 29803d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/bt/esp_ble_mesh/mesh_core/main.c
Expand Up @@ -102,6 +102,11 @@ void bt_mesh_node_reset(void)
return;
}

if (bt_prov_active()) {
BT_WARN("%s, link is still active", __func__);
return;
}

bt_mesh.iv_index = 0U;
bt_mesh.seq = 0U;

Expand Down

0 comments on commit 29803d9

Please sign in to comment.