device: after completing a connection, check it's compatible

This commit is contained in:
Lubomir Rintel 2019-05-07 11:35:39 +02:00
parent 9c24c81ad0
commit 48710fbf8d

View file

@ -5732,7 +5732,10 @@ nm_device_complete_connection (NMDevice *self,
error))
return FALSE;
return nm_connection_verify (connection, error);
if (!nm_connection_verify (connection, error))
return FALSE;
return nm_device_check_connection_compatible (self, connection, error);
}
gboolean