Commit 18987b9e authored by Dan Williams's avatar Dan Williams
Browse files

2005-08-31 Dan Williams <dcbw@redhat.com>

	Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_wireless_scan): fix scan timeout values


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@915 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 772ad29b
2005-08-31 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
* src/NetworkManagerDevice.c
- (nm_device_wireless_scan): fix scan timeout values
2005-08-30 Dan Williams <dcbw@redhat.com>
* gnome/applet/wireless-applet.glade
......
......@@ -4001,7 +4001,7 @@ static gboolean nm_device_wireless_scan (gpointer user_data)
int orig_rate = 0;
const int interval = 20;
const int assoc_pause = nm_device_get_association_pause_value (dev);
const int delay = (G_USEC_PER_SEC * assoc_pause) / interval;
const int delay = G_USEC_PER_SEC / interval;
const int max_tries = assoc_pause * interval;
nm_completion_args args;
......
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