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:
Dan Williams
2011-03-17 14:23:21 -05:00
parent 23943e7ce2
commit 1701df4b75
7 changed files with 43 additions and 7 deletions

View File

@@ -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;
}