Commit 75f767ca authored by Lubomir Rintel's avatar Lubomir Rintel 🥕
Browse files

libnm: Don't expect VPN connections to attach to the device

parent 282d9b0e
......@@ -818,9 +818,12 @@ recheck_pending_activations (NMManager *self)
devices = nm_active_connection_get_devices (candidate);
if (devices->len == 0)
if (!NM_IS_VPN_CONNECTION (candidate)) {
device = devices->pdata[0];
if (nm_device_get_active_connection (device) != candidate)
activate_info_complete (info, candidate, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment