From 57156cc5738cfbf60e1b0ddf444ad6eec5964a0d Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Wed, 4 Jul 2012 16:09:02 +0000 Subject: [PATCH] technology: return already enabled when tethering is enabled --- src/technology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technology.c b/src/technology.c index 31587e5..ad555c9 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) -- 2.7.4