2008-08-14 Dan Williams <dcbw@redhat.com>

* src/nm-device.c
		- (nm_device_deactivate_quickly): tear down activation request after
			calling device-specific deactivation

	* src/nm-hso-gsm-device.c
		- (real_deactivate_quickly): terminate connection when deactivating



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3963 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2008-08-14 17:45:47 +00:00
parent dbb7455778
commit 7069202c90
3 changed files with 33 additions and 3 deletions

View File

@@ -1361,13 +1361,13 @@ nm_device_deactivate_quickly (NMDevice *self)
aipd_cleanup (self);
/* Tear down an existing activation request */
clear_act_request (self);
/* Call device type-specific deactivation */
if (NM_DEVICE_GET_CLASS (self)->deactivate_quickly)
NM_DEVICE_GET_CLASS (self)->deactivate_quickly (self);
/* Tear down an existing activation request */
clear_act_request (self);
return TRUE;
}