summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
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 b4bf2846..b830688b 100644
--- a/src/device.c
+++ b/src/device.c
@@ -829,9 +829,6 @@ int connman_device_set_scanning(struct connman_device *device,
__connman_device_cleanup_networks(device);
- if (device->connections > 0)
- return 0;
-
__connman_service_auto_connect();
return 0;