Applied On Wed, 2019-07-17 at 21:01 -0700, Inga Stotland wrote: > This adds initialization of keyring storage directory when > a mesh node is attached successfully. > --- > mesh/node.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/mesh/node.c b/mesh/node.c > index 652551756..6b784bf8d 100644 > --- a/mesh/node.c > +++ b/mesh/node.c > @@ -1656,6 +1656,14 @@ static void get_managed_objects_cb(struct l_dbus_message *msg, void *user_data) > } else > goto fail; > > + /* > + * TODO: For now always initialize directory for storing > + * keyring info. Need to figure out what checks need > + * to be performed to do this conditionally, i.e., presence of > + * Provisioner interface, etc. > + */ > + init_storage_dir(node); > + > } else if (req->type == REQUEST_TYPE_JOIN) { > node_join_ready_func_t cb = req->cb; >