Diff between 3937a002a741fd6f758743b3ad54aae23d3a0b16 and d9ef18ff68028955e6a0ba6556c8dbc85606cf0a

Changed Files

File Additions Deletions Status
mesh/node.c +8 -0 modified

Full Patch

diff --git a/mesh/node.c b/mesh/node.c
index 6525517..6b784bf 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;