device: Don't delete the link if a re-activation is scheduled

This commit is contained in:
Lubomir Rintel 2014-11-04 09:41:42 +01:00 committed by Jiří Klimeš
parent 842648a992
commit 892602c912

View file

@ -5081,6 +5081,8 @@ delete_on_deactivate_check_and_schedule (NMDevice *self, int ifindex)
return;
if (!priv->is_nm_owned)
return;
if (priv->queued_act_request)
return;
if (!nm_device_is_software (self))
return;
if (nm_device_get_state (self) == NM_DEVICE_STATE_UNMANAGED)