diff options
author | Dan Williams <dcbw@redhat.com> | 2011-03-17 14:23:21 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-03-17 14:23:21 -0500 |
commit | 1701df4b753845f04280549507123d01a4637670 (patch) | |
tree | cf00cbacfc74aa9bf76ce428de4cb710758cc818 /src/nm-activation-request.c | |
parent | 23943e7ce26a1cb932f1a84026bbbee2f504f1be (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.c | 4 |
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; } |