manager: simplify searching assumed connection
Now we only search for a candiate with matching UUID. No need to first lookup all activatable connections, just find the candidate by UUID and see if it is activatable.
This commit is contained in:
@@ -39,7 +39,7 @@ void nm_utils_complete_generic (NMPlatform *platform,
|
||||
|
||||
typedef gboolean (NMUtilsMatchFilterFunc) (NMConnection *connection, gpointer user_data);
|
||||
|
||||
NMConnection *nm_utils_match_connection (GSList *connections,
|
||||
NMConnection *nm_utils_match_connection (NMConnection *const*connections,
|
||||
NMConnection *original,
|
||||
gboolean device_has_carrier,
|
||||
gint64 default_v4_metric,
|
||||
|
Reference in New Issue
Block a user