mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(ble_mesh): Reject node reset when provisioning link is active
This commit is contained in:
parent
4ecc978bd6
commit
ed4bf92b8e
@ -109,6 +109,11 @@ void bt_mesh_node_reset(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (bt_mesh_prov_active()) {
|
||||||
|
BT_WARN("%s, link is still active", __func__);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bt_mesh.iv_index = 0U;
|
bt_mesh.iv_index = 0U;
|
||||||
bt_mesh.seq = 0U;
|
bt_mesh.seq = 0U;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user