Diff between b7002801ffa59b75f5fc21d0f72279cf9082ecbe and 192fb067986067c890a2e827292e021a62fc8d4b

Changed Files

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

Full Patch

diff --git a/mesh/node.c b/mesh/node.c
index c61167b..9b97aa9 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -1579,7 +1579,7 @@ static bool check_req_node(struct managed_obj_request *req)
 		node = req->node;
 
 	node_comp = node_get_comp(node, 0, &node_len);
-	len = node_generate_comp(node, comp, sizeof(comp));
+	len = node_generate_comp(req->node, comp, sizeof(comp));
 
 	/* If no page 0 exists, save it and return */
 	if (req->type != REQUEST_TYPE_ATTACH || !node_len || !node_comp)