diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-06-15 14:13:50 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-06-18 10:59:51 +0300 |
commit | c9e5639227ee4956fc00320e66e5dcff92037f06 (patch) | |
tree | 519b47efb9a8e655cf8ac5cf4c68c6daf006a796 /src/device.c | |
parent | 091f5fa9229897a52424cd442b325f97d361dbc3 (diff) | |
download | connman-c9e5639227ee4956fc00320e66e5dcff92037f06.tar.gz connman-c9e5639227ee4956fc00320e66e5dcff92037f06.tar.bz2 connman-c9e5639227ee4956fc00320e66e5dcff92037f06.zip |
device: Don't unnecessarily set device->scanning to false
The WiFi plugin will call connman_device_set_scanning() immediately
after connman_device_reset_scanning().
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
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); } |