diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-07 11:35:39 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-28 15:03:20 +0200 |
commit | 48710fbf8daa08b329de8b8bde44b3acf8255c41 (patch) | |
tree | db12fd9d8c5f926e6ea104ccf103c11a20a259e3 | |
parent | 9c24c81ad09a0d9c177c81f04351439d571baa53 (diff) | |
download | NetworkManager-48710fbf8daa08b329de8b8bde44b3acf8255c41.tar.gz |
device: after completing a connection, check it's compatible
-rw-r--r-- | src/devices/nm-device.c | 5 |
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 |