core: add active connection state DEACTIVATING
Not used yet, but will be when device deactivating state gets used. Should be 100% backwards compatible with users that don't know about it for now.
This commit is contained in:
@@ -440,8 +440,12 @@ device_state_changed (NMDevice *device,
|
||||
new_default = priv->is_default;
|
||||
new_default6 = priv->is_default6;
|
||||
break;
|
||||
case NM_DEVICE_STATE_DEACTIVATING:
|
||||
new_ac_state = NM_ACTIVE_CONNECTION_STATE_DEACTIVATING;
|
||||
break;
|
||||
default:
|
||||
new_ac_state = NM_ACTIVE_CONNECTION_STATE_UNKNOWN;
|
||||
new_default = new_default6 = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user