Diff between abe8f8f862aad3d464fcf0df761584ba5c35145c and ab95c132bce73bb729ac61b880d253430dc09a7e

Changed Files

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

Full Patch

diff --git a/mesh/node.c b/mesh/node.c
index 65ea5e6..b52b9e4 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -1526,6 +1526,10 @@ static bool check_req_node(struct managed_obj_request *req)
 		uint16_t attach_len = node_generate_comp(req->attach,
 					attach_comp, sizeof(attach_comp));
 
+		/* Ignore feature bits in Composition Compare */
+		node_comp[8] = 0;
+		attach_comp[8] = 0;
+
 		if (node_len != attach_len ||
 				memcmp(node_comp, attach_comp, node_len)) {
 			l_debug("Failed to verify app's composition data");