ovs: change reason for deactivation-on-removal

The interface was removed, so NM_DEVICE_STATE_REASON_REMOVED sounds
more correct.
This commit is contained in:
Beniamino Galvani
2021-01-25 15:38:03 +01:00
parent 8e55efeb9d
commit a30d744657

View File

@@ -180,7 +180,7 @@ ovsdb_device_removed(NMOvsdb * ovsdb,
&& device_state < NM_DEVICE_STATE_DEACTIVATING) {
nm_device_state_changed(device,
NM_DEVICE_STATE_DEACTIVATING,
NM_DEVICE_STATE_REASON_DEPENDENCY_FAILED);
NM_DEVICE_STATE_REASON_REMOVED);
return;
}