longer delay in nm_device_activate_wireless [PATCH]
- From: j bootlab org
- To: networkmanager-list gnome org
- Subject: longer delay in nm_device_activate_wireless [PATCH]
- Date: Wed, 10 Nov 2004 04:11:51 +0100
hi,
after using NetworkManager for some time, i had problems with some
APs and my wireless card (using orinoco_pci drivers) to connect to
the AP in the 3 seconds in nm_device_activate_wireless.
with 5 seconds i did not have that problem.
j
Index: src/NetworkManagerDevice.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/NetworkManagerDevice.c,v
retrieving revision 1.59
diff -u -r1.59 NetworkManagerDevice.c
--- src/NetworkManagerDevice.c 6 Nov 2004 03:23:36 -0000 1.59
+++ src/NetworkManagerDevice.c 10 Nov 2004 03:03:23 -0000
@@ -1345,7 +1345,7 @@
/* Bring the device up and pause to allow card to associate */
nm_device_bring_up (dev);
- g_usleep (G_USEC_PER_SEC * 2);
+ g_usleep (G_USEC_PER_SEC * 5);
nm_device_update_link_active (dev, FALSE);
success = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]