NetworkManager r4173 - in trunk: . src



Author: dcbw
Date: Sat Oct 11 18:32:24 2008
New Revision: 4173
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4173&view=rev

Log:
2008-10-11  Dan Williams  <dcbw redhat com>

	* src/nm-device-wifi.c
		- (can_scan): remove old madwifi hack for not scanning while connected



Modified:
   trunk/ChangeLog
   trunk/src/nm-device-wifi.c

Modified: trunk/src/nm-device-wifi.c
==============================================================================
--- trunk/src/nm-device-wifi.c	(original)
+++ trunk/src/nm-device-wifi.c	Sat Oct 11 18:32:24 2008
@@ -1669,16 +1669,7 @@
 			return FALSE;
 	}
 
-	/* Devices supporting only B/G frequencies can scan when disconnected 
-	 * and activated, but not when activating.  We don't allow a/b/g devices to
-	 * scan when activated, because there are just too many channels to scan and
-	 * it takes too long to scan them, so users get angry when their SSH
-	 * sessions lag.
-	 */
-	if ((priv->num_freqs <= 14) && (dev_state == NM_DEVICE_STATE_ACTIVATED))
-		return TRUE;
-
-	return FALSE;
+	return TRUE;
 }
 
 static gboolean



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