From 6a3f65bff4b8e9a57963c0ac95ee549182986708 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Fri, 25 May 2012 11:17:39 +0300 Subject: wifi: Scanning is set to false in case of effective autoscan stop. --- plugins/wifi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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); } -- cgit v1.2.3