Diff between 56bda20ce9e3e5c4684b37cffd4527264c2b4c1e and 5cdaeaefc350ea3c42719284b88406579d032fb6

Changed Files

File Additions Deletions Status
tools/mesh-gatt/prov-db.c +2 -1 modified

Full Patch

diff --git a/tools/mesh-gatt/prov-db.c b/tools/mesh-gatt/prov-db.c
index 2fb08f7..a5b6997 100644
--- a/tools/mesh-gatt/prov-db.c
+++ b/tools/mesh-gatt/prov-db.c
@@ -859,7 +859,8 @@ bool prov_db_local_set_iv_index(uint32_t iv_index, bool update, bool prov)
 
 		set_local_iv_index(jmain, iv_index, update);
 		prov_file_write(jmain, false);
-	}
+	} else
+		return true;
 
 	res = true;
 done: