From: Mohamed Abbas Date: Thu, 23 Dec 2010 09:26:39 +0000 (+0100) Subject: device: Do not use the disconnected flag for auto connection X-Git-Tag: 2.0_alpha~1959 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f2b252d8809547a608187130af5f943882d87f2;p=framework%2Fconnectivity%2Fconnman.git device: Do not use the disconnected flag for auto connection The whole auto connection process is now handled from service_auto_connect(). --- diff --git a/src/device.c b/src/device.c index c71529e..6eef940 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;