2008-02-15 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c - (device_cleanup): release the AP list here too so that the AP list doesn't survive across suspend/resume and up/down. There is some room for optimization, for example blow the list away when the card brought back up, but only if the device has only been down for a minute or more. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3322 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2008-02-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-device-802-11-wireless.c
|
||||
- (device_cleanup): release the AP list here too so that the AP list
|
||||
doesn't survive across suspend/resume and up/down. There is some
|
||||
room for optimization, for example blow the list away when the card
|
||||
brought back up, but only if the device has only been down for a
|
||||
minute or more.
|
||||
|
||||
2008-02-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-hal-manager.c
|
||||
|
@@ -761,6 +761,12 @@ device_cleanup (NMDevice80211Wireless *self)
|
||||
g_object_unref (priv->supplicant.mgr);
|
||||
priv->supplicant.mgr = NULL;
|
||||
}
|
||||
|
||||
g_slist_foreach (self->priv->ap_list, (GFunc) g_object_unref, NULL);
|
||||
g_slist_free (self->priv->ap_list);
|
||||
self->priv->ap_list = NULL;
|
||||
|
||||
set_current_ap (self, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user