Commit 4e5b7f34 authored by Dan Williams's avatar Dan Williams
Browse files

2005-06-19 Dan Williams <dcbw@redhat.com>

    * src/NetworkManagerDevice.c
        - (nm_device_wireless_process_scan_results): scan every 20s when
            disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@722 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent e3da8cda
2005-06-19 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
- (nm_device_wireless_process_scan_results): scan every 20s when
disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
2005-06-19 Dan Williams <dcbw@redhat.com>
* WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
......
......@@ -3873,8 +3873,8 @@ static gboolean nm_device_wireless_process_scan_results (gpointer user_data)
g_slist_free (outdated_list);
}
/* If the list changed, decrease our wireless scanning interval */
if (list_changed)
/* If the list changed or we are unassociated, decrease our wireless scanning interval */
if (list_changed || !nm_device_is_activated (dev))
dev->options.wireless.scan_interval = 20;
else
dev->options.wireless.scan_interval = MIN (60, dev->options.wireless.scan_interval + 10);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment