summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-05-07 11:35:39 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-05-28 15:03:20 +0200
commit48710fbf8daa08b329de8b8bde44b3acf8255c41 (patch)
treedb12fd9d8c5f926e6ea104ccf103c11a20a259e3
parent9c24c81ad09a0d9c177c81f04351439d571baa53 (diff)
downloadNetworkManager-48710fbf8daa08b329de8b8bde44b3acf8255c41.tar.gz
device: after completing a connection, check it's compatible
-rw-r--r--src/devices/nm-device.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index ca0114f522..75ed5655f6 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -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