This removes a redundant call to save node configuration in
add_local_node(): there is a number of unconditional calls to
mesh_config_write_<some_node_Setting>() within this function
which would result in the node configuration being saved implicitly.
Change-Id: I6ffb8eea7f627c734c2728940f9a24223ad19e8c
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
update_net_settings(node);
- mesh_config_save(node->cfg, true, NULL, NULL);
-
/* Initialize configuration server model */
cfgmod_server_init(node, PRIMARY_ELE_IDX);