mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 04:10:17 +01:00
device: only clear the activate request when the device disconnects
If it's traversing from unavailable to disconnected (e.g. realizing of the device was delayed because it was awaiting the parent connection), then we just want to progress the activation.
This commit is contained in:
parent
6219759490
commit
2a45d30cc5
1 changed files with 2 additions and 1 deletions
|
|
@ -10400,7 +10400,8 @@ _set_state_full (NMDevice *self,
|
|||
if (state <= NM_DEVICE_STATE_UNAVAILABLE) {
|
||||
if (available_connections_del_all (self))
|
||||
available_connections_notify (self);
|
||||
_clear_queued_act_request (priv);
|
||||
if (old_state > NM_DEVICE_STATE_UNAVAILABLE)
|
||||
_clear_queued_act_request (priv);
|
||||
}
|
||||
|
||||
/* Update the available connections list when a device first becomes available */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue