mesh: Fix node composition change detection
authorBrian Gix <brian.gix@intel.com>
Wed, 15 Jul 2020 15:30:49 +0000 (08:30 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commitfc36a20d866e9b14fcf2ea6b837f4468d1e50031
treea291b44d681926c5cf925782434357126728afaf
parent8444b9ffb436c56e07560f27bc7817ddce335ae4
mesh: Fix node composition change detection

This fixes a bug that caused disallowed composition changes from being
detected and rejected. The only fields that are allowed to freely change
are CID, PID, VID and CRPL.

Change-Id: I147eab5fac9f20b5d3cf2ef161776cc385fd470d
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/node.c