summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-05-25 11:17:39 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-25 14:48:33 +0300
commit6a3f65bff4b8e9a57963c0ac95ee549182986708 (patch)
treea5ccbcde73a23d5e820b9a8f52065ff2a7bde390 /plugins
parentfc6cfb5cfd7641a848ac1a082b41737fd81512e5 (diff)
downloadconnman-6a3f65bff4b8e9a57963c0ac95ee549182986708.tar.gz
connman-6a3f65bff4b8e9a57963c0ac95ee549182986708.tar.bz2
connman-6a3f65bff4b8e9a57963c0ac95ee549182986708.zip
wifi: Scanning is set to false in case of effective autoscan stop.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wifi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 89576b36..526bb9ed 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -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);
}