NetworkManager r3243 - in trunk: . src



Author: dcbw
Date: Fri Jan 18 02:58:25 2008
New Revision: 3243
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3243&view=rev

Log:
2008-01-17  Dan Williams  <dcbw redhat com>

	* src/nm-device-802-11-wireless.c
		- (real_check_connection_conflicts): ignore connections that aren't
			wireless connections



Modified:
   trunk/ChangeLog
   trunk/src/nm-device-802-11-wireless.c

Modified: trunk/src/nm-device-802-11-wireless.c
==============================================================================
--- trunk/src/nm-device-802-11-wireless.c	(original)
+++ trunk/src/nm-device-802-11-wireless.c	Fri Jan 18 02:58:25 2008
@@ -814,10 +814,12 @@
 	g_assert (system_s_con);
 
 	s_wireless = NM_SETTING_WIRELESS (nm_connection_get_setting (connection, NM_TYPE_SETTING_WIRELESS));
-	g_assert (s_wireless);
+	if (!s_wireless)
+		return FALSE;
 
 	system_s_wireless = NM_SETTING_WIRELESS (nm_connection_get_setting (system_connection, NM_TYPE_SETTING_WIRELESS));
-	g_assert (system_s_wireless);
+	if (!system_s_wireless)
+		return FALSE;
 
 	if (!system_s_con->lockdown)
 		return FALSE;



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