mesh: Refresh provisioner's capabilities 74/229674/1
authorMichał Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Wed, 1 Apr 2020 10:25:00 +0000 (12:25 +0200)
committerAnupam Roy <anupam.r@samsung.com>
Wed, 1 Apr 2020 21:02:59 +0000 (02:32 +0530)
commit204fc9584f0eac132dd629d175f500cff89067cb
tree20befeab5e971a0a1c02ce56cf8bbc63bb4a0558
parenta9b89afcaae9fd207f3eef729405e83aab5671c3
mesh: Refresh provisioner's capabilities

As provisioner's capabilities might change during application lifetime
(e.g. no network link to download OOB key), let's query the agent again
after application calls AddNode().

Change-Id: I29cbff53383fec85bc9eba00e6729defcd423ce4
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/agent.c
mesh/agent.h
mesh/manager.c
mesh/prov-initiator.c
mesh/provision.h