mesh: Save newly added or updated app key to config file
authorInga Stotland <inga.stotland@intel.com>
Thu, 14 Feb 2019 03:45:26 +0000 (19:45 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 14:14:48 +0000 (19:44 +0530)
commitaae9e9bd4c513253a849b59aa788637de20ffb5a
treeec46dff27f2e236271e03237b49bb9d257bf86e9
parentcb924b83c87c75f53879f827ca58acb90e6e295d
mesh: Save newly added or updated app key to config file

This separates mesh_db_app_key_add() into distinct functions:
mesh_db_app_key_add() and mesh_db_app_key_update() which will be called
based on whether an application key is newly added or updated.

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