manager: don't re-assume generated connections

They're being torn down as their device is being deactivated.

https://bugzilla.gnome.org/show_bug.cgi?id=744812
This commit is contained in:
Lubomir Rintel 2015-02-19 18:46:57 +01:00
parent 6cdcf36a3d
commit d37f2280b7

View file

@ -1545,6 +1545,9 @@ done:
static gboolean
match_connection_filter (NMConnection *connection, gpointer user_data)
{
if (nm_settings_connection_get_nm_generated_assumed (NM_SETTINGS_CONNECTION (connection)))
return FALSE;
return nm_device_check_connection_compatible (NM_DEVICE (user_data), connection);
}