mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bigfix/BLEQABR23-503' into 'master'
fix(ble_mesh): reject node-reseting when provision link is active See merge request espressif/esp-idf!25848
This commit is contained in:
commit
7537c4fcea
@ -109,6 +109,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user