Association timout problem



With NM on Gentoo and an Atheros Wifi, NM won't work without this
(attached) patch.

Nathaniel
--- src/NetworkManagerDevice.c.old	2005-03-07 23:53:28.000000000 -0500
+++ src/NetworkManagerDevice.c	2005-03-07 23:57:50.000000000 -0500
@@ -1878,7 +1878,7 @@
 				((auth == NM_DEVICE_AUTH_METHOD_SHARED_KEY) ? "Shared Key" : "unknown")));
 
 	/* Bring the device up and pause to allow card to associate. */
-	g_usleep (G_USEC_PER_SEC * 2);
+	g_usleep (G_USEC_PER_SEC * nm_device_get_association_pause_value (dev));
 
 	/* Some cards don't really work well in ad-hoc mode unless you explicitly set the bitrate
 	 * on them. (Netgear WG511T/Atheros 5212 with madwifi drivers).  Until we can get rate information


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]