core: device disconnection cleanups
Return an error when trying to disconnect an already-disconnected or deactivated device.
This commit is contained in:
@@ -36,6 +36,7 @@ typedef enum
|
||||
{
|
||||
NM_DEVICE_INTERFACE_ERROR_CONNECTION_ACTIVATING = 0,
|
||||
NM_DEVICE_INTERFACE_ERROR_CONNECTION_INVALID,
|
||||
NM_DEVICE_INTERFACE_ERROR_NOT_ACTIVE,
|
||||
} NMDeviceInterfaceError;
|
||||
|
||||
#define NM_DEVICE_INTERFACE_ERROR (nm_device_interface_error_quark ())
|
||||
|
Reference in New Issue
Block a user