diff options
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 5fa0fc3b9f..7ffa3dc6f5 100644 --- a/src/nm-activation-request.c +++ b/src/nm-activation-request.c @@ -307,6 +307,10 @@ device_state_changed (NMActiveConnection *active, { NMActiveConnectionState ac_state = NM_ACTIVE_CONNECTION_STATE_UNKNOWN; + /* Ignore state changes when this activation request is not yet active */ + if (NM_ACTIVE_CONNECTION (nm_device_get_act_request (device)) != active) + return; + /* Set NMActiveConnection state based on the device's state */ switch (new_state) { case NM_DEVICE_STATE_PREPARE: |