Merge branch 'bigfix/BLEQABR23-503_v50' into 'release/v5.0'

fix(ble_mesh): reject node-reseting when provision link is active (V5.0)

See merge request espressif/esp-idf!25847
This commit is contained in:
Jiang Jiang Jian 2024-01-02 15:38:38 +08:00
commit 15fa0a88d4

View File

@ -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;