mesh: Save newly added or updated net key to config file
authorInga Stotland <inga.stotland@intel.com>
Thu, 7 Feb 2019 03:55:37 +0000 (19:55 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 14:14:30 +0000 (19:44 +0530)
commitb85a5008142bfa75d3f0d7d6e181f72b1460ba41
tree9c813f5063ee62cf60e6976755adc773101dd80e
parent4e0bbab9cfdb6c8659df7f0304d9fbb49e5bb1bb
mesh: Save newly added or updated net key to config file

This separates mesh_db_net_key_add() into distinct functions:
mesh_db_net_key_add() and mesh_db_net_key_update() which will be called
based on whether a network key was newly added or updated.

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