From 1f2b252d8809547a608187130af5f943882d87f2 Mon Sep 17 00:00:00 2001 From: Mohamed Abbas Date: Thu, 23 Dec 2010 10:26:39 +0100 Subject: [PATCH] device: Do not use the disconnected flag for auto connection The whole auto connection process is now handled from service_auto_connect(). --- src/device.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.7.4