summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-02 19:29:08 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-07 14:57:52 +0200
commit3973603a07be70d0a5a0dfda88d71bc9252a9c0a (patch)
treef9b1ec54a23d4b4c07510cd82046a3674569257d /src/main.c
parente30a42af3e368c5abe0e346ff397d6f9b6954856 (diff)
downloadconnman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.tar.gz
connman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.tar.bz2
connman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.zip
element: Remove device code
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 11621676..0de8cd16 100644
--- a/src/main.c
+++ b/src/main.c
@@ -264,7 +264,8 @@ int main(int argc, char *argv[])
parse_config(config);
__connman_storage_init();
- __connman_element_init(option_device, option_nodevice);
+ __connman_element_init();
+ __connman_device_init(option_device, option_nodevice);
__connman_agent_init();
__connman_iptables_init();
@@ -326,6 +327,7 @@ int main(int argc, char *argv[])
__connman_tethering_cleanup();
__connman_iptables_cleanup();
+ __connman_device_cleanup();
__connman_element_cleanup();
__connman_storage_cleanup();