summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-22 14:19:40 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-22 14:19:40 +0200
commit47fa4b571b798ee8e2dcdc8edb15bcef5bc5e955 (patch)
tree12ab2985d832d8a8e110be9a007e7c5da6f19502
parent419234745e1d26965c582c8bad288e0d9b157868 (diff)
downloadconnman-47fa4b571b798ee8e2dcdc8edb15bcef5bc5e955.tar.gz
connman-47fa4b571b798ee8e2dcdc8edb15bcef5bc5e955.tar.bz2
connman-47fa4b571b798ee8e2dcdc8edb15bcef5bc5e955.zip
Load global settings before probing devices
-rw-r--r--src/element.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/element.c b/src/element.c
index 9c68fc1d..4f5b3292 100644
--- a/src/element.c
+++ b/src/element.c
@@ -1602,13 +1602,13 @@ void __connman_element_start(void)
{
DBG("");
+ __connman_storage_load_global();
+
g_node_traverse(element_root, G_PRE_ORDER, G_TRAVERSE_ALL, -1,
probe_node, NULL);
started = TRUE;
- __connman_storage_load_global();
-
__connman_connection_init();
__connman_ipv4_init();
__connman_rfkill_init();