mesh: Always set net modes based on node feature settings
authorInga Stotland <inga.stotland@intel.com>
Tue, 18 Aug 2020 22:22:07 +0000 (15:22 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commit774201079ee6fc362ac6db7fc9d50112575dc2e0
tree3458be4d6bbd64ee51b3d4f34e453853abc60717
parentdd49be58bb648043832bf280e8b19d8968d577b4
mesh: Always set net modes based on node feature settings

The network settings such as relay, beacon, proxy and friend are
always set based on local node feature settings. This change makes
the net modes initialization unconditional, to include the "No Support"
setting on node level which should result in the disabled mode in net.c

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