diff --git a/src/nm-device.c b/src/nm-device.c index daaac17ab3..7488618e60 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -5783,6 +5783,7 @@ _try_add_available_connection (NMDevice *self, NMConnection *connection) g_hash_table_insert (NM_DEVICE_GET_PRIVATE (self)->available_connections, g_object_ref (connection), GUINT_TO_POINTER (1)); + return TRUE; } } return FALSE;