Diff between 1169eb4434fd2093cbd6a2f58055bd1fbc33c3f0 and d3093475b5a70b18ecbcb0b02ad5315eed1c15a4

Changed Files

File Additions Deletions Status
mesh/net.c +1 -1 modified

Full Patch

diff --git a/mesh/net.c b/mesh/net.c
index 23565c1..d7ce549 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -2657,7 +2657,7 @@ static void update_iv_ivu_state(struct mesh_net *net, uint32_t iv_index,
 	if ((iv_index - ivu) > (local_iv_index - local_ivu))
 		mesh_net_set_seq_num(net, 0);
 
-	if (ivu != net->iv_update || local_iv_index != net->iv_index) {
+	if (ivu != net->iv_update || iv_index != net->iv_index) {
 		struct mesh_config *cfg = node_config_get(net->node);
 
 		mesh_config_write_iv_index(cfg, iv_index, ivu);