From c9e5639227ee4956fc00320e66e5dcff92037f06 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Fri, 15 Jun 2012 14:13:50 +0300 Subject: [PATCH] device: Don't unnecessarily set device->scanning to false The WiFi plugin will call connman_device_set_scanning() immediately after connman_device_reset_scanning(). --- src/device.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/device.c b/src/device.c index d06bffd..3a5e467 100644 --- a/src/device.c +++ b/src/device.c @@ -704,8 +704,6 @@ connman_bool_t connman_device_get_scanning(struct connman_device *device) void connman_device_reset_scanning(struct connman_device *device) { - device->scanning = FALSE; - g_hash_table_foreach(device->networks, mark_network_available, NULL); } -- 2.7.4