summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index d06bffda..3a5e467d 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);
}