During the scan trigger set scanning to false to start fresh
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 18 Jul 2009 07:18:04 +0000 (09:18 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 18 Jul 2009 07:18:04 +0000 (09:18 +0200)
src/device.c

index 93a37ca..a7505a0 100644 (file)
@@ -71,6 +71,8 @@ static gboolean device_scan_trigger(gpointer user_data)
 
        DBG("device %p", device);
 
+       connman_device_set_scanning(device, FALSE);
+
        if (device->driver == NULL) {
                device->scan_timeout = 0;
                return FALSE;