mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-12 20:30:34 +01:00
policy: only reset autoconnect-blocked-reason FAILED in activate_slave_connections()
The reasons no-secret and user-request still hold.
This commit is contained in:
parent
b154f29b2b
commit
3a826a83df
1 changed files with 3 additions and 6 deletions
|
|
@ -1608,12 +1608,9 @@ activate_slave_connections (NMPolicy *self, NMDevice *device)
|
|||
|
||||
if (!internal_activation)
|
||||
nm_settings_connection_autoconnect_retries_reset (connection);
|
||||
if (nm_settings_connection_autoconnect_blocked_reason_get (connection,
|
||||
NM_SETTINGS_AUTO_CONNECT_BLOCKED_REASON_FAILED)) {
|
||||
nm_settings_connection_autoconnect_blocked_reason_set (connection,
|
||||
NM_SETTINGS_AUTO_CONNECT_BLOCKED_REASON_ALL,
|
||||
FALSE);
|
||||
}
|
||||
nm_settings_connection_autoconnect_blocked_reason_set (connection,
|
||||
NM_SETTINGS_AUTO_CONNECT_BLOCKED_REASON_FAILED,
|
||||
FALSE);
|
||||
}
|
||||
|
||||
schedule_activate_all (self);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue