summaryrefslogtreecommitdiff
path: root/plugins/fake.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-16 09:44:53 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-16 15:26:11 +0200
commit81530ed8aa05ce414dfa88999be5979451e0af09 (patch)
tree9320430184ad26afeeb48fc7d613433367b09cf4 /plugins/fake.c
parent2b2cb7b5ab0cb6da76d378242575c83b8188a769 (diff)
downloadconnman-81530ed8aa05ce414dfa88999be5979451e0af09.tar.gz
connman-81530ed8aa05ce414dfa88999be5979451e0af09.tar.bz2
connman-81530ed8aa05ce414dfa88999be5979451e0af09.zip
element: Remove network code
Diffstat (limited to 'plugins/fake.c')
-rw-r--r--plugins/fake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/fake.c b/plugins/fake.c
index a3aed229..6ec4ba56 100644
--- a/plugins/fake.c
+++ b/plugins/fake.c
@@ -38,6 +38,8 @@ static void create_network(struct connman_device *device, const char *name)
if (network == NULL)
return;
+ connman_network_register(network);
+
connman_device_add_network(device, network);
connman_network_unref(network);
}