2007-08-17 Dan Williams <dcbw@redhat.com>

* src/nm-device-802-11-wireless.c
		- (device_cleanup): disconnect the interface in wpa_supplicant before
			we dispose of the interface proxy in NM



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2710 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-08-17 21:30:14 +00:00
parent ef0773e577
commit 71a7f5bdb1
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2007-08-17 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
- (device_cleanup): disconnect the interface in wpa_supplicant before
we dispose of the interface proxy in NM
2007-08-16 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-client.c

View file

@ -605,12 +605,11 @@ device_cleanup (NMDevice80211Wireless *self)
cancel_pending_scan (self);
cleanup_supplicant_interface (self);
if (priv->supplicant.iface) {
/* Tell the supplicant to disconnect from the current AP */
if (priv->supplicant.iface)
nm_supplicant_interface_disconnect (priv->supplicant.iface);
priv->supplicant.iface = NULL;
}
cleanup_supplicant_interface (self);
if (priv->supplicant.mgr_state_id) {
g_signal_handler_disconnect (priv->supplicant.mgr, priv->supplicant.mgr_state_id);