mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 13:08:10 +02:00
core: clear autoconnect-blocked-reason USER_REQUEST when activating connection
(cherry picked from commit 98ff1e291c)
This commit is contained in:
parent
4dd2208fa2
commit
2aaecebdcc
1 changed files with 3 additions and 0 deletions
|
|
@ -3875,6 +3875,9 @@ _activation_auth_done (NMActiveConnection *active,
|
||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
if (_internal_activate_generic (self, active, &error)) {
|
if (_internal_activate_generic (self, active, &error)) {
|
||||||
|
nm_settings_connection_autoconnect_blocked_reason_set (connection,
|
||||||
|
NM_SETTINGS_AUTO_CONNECT_BLOCKED_REASON_USER_REQUEST,
|
||||||
|
FALSE);
|
||||||
g_dbus_method_invocation_return_value (context,
|
g_dbus_method_invocation_return_value (context,
|
||||||
g_variant_new ("(o)",
|
g_variant_new ("(o)",
|
||||||
nm_exported_object_get_path (NM_EXPORTED_OBJECT (active))));
|
nm_exported_object_get_path (NM_EXPORTED_OBJECT (active))));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue