summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Massot <jmassot@aldebaran-robotics.com>2012-07-04 16:09:02 +0000
committerMarcel Holtmann <marcel@holtmann.org>2012-07-05 09:12:27 +0200
commit57156cc5738cfbf60e1b0ddf444ad6eec5964a0d (patch)
tree63544889da9ab53f9ef38c15bd4296d9867e2b41 /src
parent3bf93f125d8612a9684e449252814f563035d5a0 (diff)
downloadconnman-57156cc5738cfbf60e1b0ddf444ad6eec5964a0d.tar.gz
connman-57156cc5738cfbf60e1b0ddf444ad6eec5964a0d.tar.bz2
connman-57156cc5738cfbf60e1b0ddf444ad6eec5964a0d.zip
technology: return already enabled when tethering is enabled
Diffstat (limited to 'src')
-rw-r--r--src/technology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/technology.c b/src/technology.c
index 31587e55..ad555c9b 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -741,7 +741,7 @@ static DBusMessage *set_property(DBusConnection *conn,
dbus_message_iter_get_basic(&value, &tethering);
if (technology->tethering == tethering)
- return __connman_error_in_progress(msg);
+ return __connman_error_already_enabled(msg);
err = set_tethering(technology, tethering);
if (err < 0)