Diff between 1eb69c3c81517e0d4ba12128b0efd4d04fa478f6 and faa1f74a91e95d04b66a9350a3daf9b35ec63070
Changed Files
| File | Additions | Deletions | Status |
| mesh/node.c | +2 | -0 | modified |
Full Patch
diff --git a/mesh/node.c b/mesh/node.c
index 35293e0..4bc1130 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -856,6 +856,8 @@ static void convert_node_to_storage(struct mesh_node *node,
{
const struct l_queue_entry *entry;
+ memset(db_node, 0, sizeof(struct mesh_config_node));
+
db_node->cid = node->comp.cid;
db_node->pid = node->comp.pid;
db_node->vid = node->comp.vid;