wifi: Scanning is set to false in case of effective autoscan stop.
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fri, 25 May 2012 08:17:39 +0000 (11:17 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 25 May 2012 11:48:33 +0000 (14:48 +0300)
plugins/wifi.c

index 89576b3..526bb9e 100644 (file)
@@ -222,6 +222,8 @@ static void stop_autoscan(struct connman_device *device)
        autoscan->timeout = 0;
        autoscan->interval = 0;
 
+       connman_device_set_scanning(device, FALSE);
+
        connman_device_unref(device);
 }