2007-08-28 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerMain.h src/nm-device-802-11-wireless.c src/NetworkManager.c - Remove invalid AP list from NMData; need to rework this somewhat, but for now we should set the 'invalid' property on individual APs, and when we need to invalidate a whole ESS, set the 'invalid' on every member of that ESS git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -120,14 +120,6 @@ static NMData *nm_data_new (void)
|
||||
|
||||
data = g_slice_new0 (NMData);
|
||||
|
||||
/* Initialize the access point lists */
|
||||
data->invalid_ap_list = nm_ap_list_new (NETWORK_TYPE_INVALID);
|
||||
if (!data->invalid_ap_list) {
|
||||
nm_data_free (data);
|
||||
nm_warning ("could not create access point lists.");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
@@ -142,8 +134,6 @@ static void nm_data_free (NMData *data)
|
||||
{
|
||||
g_return_if_fail (data != NULL);
|
||||
|
||||
nm_ap_list_unref (data->invalid_ap_list);
|
||||
|
||||
g_slice_free (NMData, data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user