summaryrefslogtreecommitdiff
path: root/src/manager.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/manager.c
parente30a42af3e368c5abe0e346ff397d6f9b6954856 (diff)
downloadconnman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.tar.gz
connman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.tar.bz2
connman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.zip
element: Remove device code
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/manager.c b/src/manager.c
index 4fd966a0..40736afc 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -192,7 +192,7 @@ static DBusMessage *request_scan(DBusConnection *conn,
else
return __connman_error_invalid_arguments(msg);
- err = __connman_element_request_scan(type);
+ err = __connman_device_request_scan(type);
if (err < 0) {
if (err == -EINPROGRESS) {
connman_error("Invalid return code from scan");
@@ -304,7 +304,7 @@ static DBusMessage *enable_technology(DBusConnection *conn,
technology_enabled = TRUE;
technology_pending = dbus_message_ref(msg);
- err = __connman_element_enable_technology(type);
+ err = __connman_device_enable_technology(type);
if (err < 0 && err != -EINPROGRESS)
technology_reply(-err);
else
@@ -352,7 +352,7 @@ static DBusMessage *disable_technology(DBusConnection *conn,
technology_enabled = FALSE;
technology_pending = dbus_message_ref(msg);
- err = __connman_element_disable_technology(type);
+ err = __connman_device_disable_technology(type);
if (err < 0 && err != -EINPROGRESS)
technology_reply(-err);
else