summaryrefslogtreecommitdiff
path: root/src/nm-activation-request.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-03-17 14:23:21 -0500
committerDan Williams <dcbw@redhat.com>2011-03-17 14:23:21 -0500
commit1701df4b753845f04280549507123d01a4637670 (patch)
treecf00cbacfc74aa9bf76ce428de4cb710758cc818 /src/nm-activation-request.c
parent23943e7ce26a1cb932f1a84026bbbee2f504f1be (diff)
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.
Diffstat (limited to 'src/nm-activation-request.c')
-rw-r--r--src/nm-activation-request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nm-activation-request.c b/src/nm-activation-request.c
index 3f291329..fcf4efbd 100644
--- a/src/nm-activation-request.c
+++ b/src/nm-activation-request.c
@@ -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;
}