summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorMohamed Abbas <mabbas@linux.intel.com>2010-12-23 10:26:39 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-23 12:45:47 +0100
commit1f2b252d8809547a608187130af5f943882d87f2 (patch)
tree72203bee3f9538e901ab46801d3d001967278602 /src/device.c
parent8a1be840cc0633d99606d2d3c73a1e55df9b9855 (diff)
downloadconnman-1f2b252d8809547a608187130af5f943882d87f2.tar.gz
connman-1f2b252d8809547a608187130af5f943882d87f2.tar.bz2
connman-1f2b252d8809547a608187130af5f943882d87f2.zip
device: Do not use the disconnected flag for auto connection
The whole auto connection process is now handled from service_auto_connect().
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index c71529ef..6eef9400 100644
--- a/src/device.c
+++ b/src/device.c
@@ -854,9 +854,6 @@ int connman_device_set_scanning(struct connman_device *device,
if (device->connections > 0)
return 0;
- if (device->disconnected == TRUE)
- return 0;
-
__connman_service_auto_connect();
return 0;