summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-07-29 20:10:02 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-07-29 20:10:02 +0200
commit6d223212daa782df716b5a449476d137cd181fa2 (patch)
tree310ebd88fe03624c96016567e8f674501f2f50a8 /src/manager.c
parentf0031470e7467e7ef3c1c483c2599eee3d9be130 (diff)
downloadconnman-6d223212daa782df716b5a449476d137cd181fa2.tar.gz
connman-6d223212daa782df716b5a449476d137cd181fa2.tar.bz2
connman-6d223212daa782df716b5a449476d137cd181fa2.zip
Disable offline mode when enabling a technology from offline mode
When enabling a technology in offline mode ConnMan now enables said technology, set offline mode to false while keeping the other technologies off.
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index 54c5c3ef..45dd06a4 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -127,7 +127,7 @@ static DBusMessage *set_property(DBusConnection *conn,
dbus_message_iter_get_basic(&value, &offlinemode);
- __connman_profile_set_offlinemode(offlinemode);
+ __connman_profile_set_offlinemode(offlinemode, TRUE);
__connman_profile_save_default();
} else if (g_str_equal(name, "Tethering") == TRUE) {