mesh: Automate AppKey update on KR phase 2-->3-->0
authorBrian Gix <brian.gix@intel.com>
Fri, 6 Sep 2019 16:24:34 +0000 (09:24 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 16:51:43 +0000 (22:21 +0530)
commitdb65d718dade0107a80086d5ccb83692492c780e
tree25a0157e75393aece00d0abb47526af737c2c565
parent49634e911fb27051fa87ae468e27240e8bac5927
mesh: Automate AppKey update on KR phase 2-->3-->0

Designed so that if an unexpcted abort() occurs, the bound NetKey remains
in state 2 or 3.  If successful, the NetKey is set to Phase 0, and all
bound AppKeys are in their correct state.

Change-Id: Id08b48eca43f0f46f72ab1397e2444d74e7d97ae
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/keyring.c
mesh/keyring.h
mesh/manager.c