mesh: Initialize net modes based on node configuration
authorInga Stotland <inga.stotland@intel.com>
Fri, 6 Dec 2019 20:57:49 +0000 (12:57 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Wed, 18 Dec 2019 11:49:13 +0000 (17:19 +0530)
commita389bdddfda8e2ddbc862e9d1f90c094fb138594
tree57408a19967068c736d961f61b5d1a14ef7f2177
parent0eeadc96e163ca8dd5babc296590bb95438ea51a
mesh: Initialize net modes based on node configuration

This correctly initializes net settings related to node features
based on node configuration: either defaults in the case of
a newly node created/provisioned/imported node or the configured
values read from stored existing node.

Change-Id: Id0d7a7e2ba2ea7e4dc3cdc17b241250581a14af1
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/mesh-defs.h
mesh/net.c
mesh/node.c