diff options
Diffstat (limited to 'src/devices/nm-device-macsec.c')
-rw-r--r-- | src/devices/nm-device-macsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-macsec.c b/src/devices/nm-device-macsec.c index c9592a4971..a7a9b1faa7 100644 --- a/src/devices/nm-device-macsec.c +++ b/src/devices/nm-device-macsec.c @@ -270,7 +270,7 @@ supplicant_iface_assoc_cb (NMSupplicantInterface *iface, { NMDeviceMacsec *self = NM_DEVICE_MACSEC (user_data); - if (error && !nm_utils_error_is_cancelled (error, TRUE)) { + if (error && !nm_utils_error_is_cancelled_or_disposing (error)) { supplicant_interface_release (self); nm_device_queue_state (NM_DEVICE (self), NM_DEVICE_STATE_FAILED, |