Commit 008a4b42 authored by Beniamino Galvani's avatar Beniamino Galvani

team: don't kill teamd for external devices

The teamd instance must not be killed if the device was externally

parent 95cc3843
Pipeline #37807 passed with stages
in 41 minutes and 45 seconds
......@@ -694,6 +694,9 @@ deactivate (NMDevice *device)
NMDeviceTeam *self = NM_DEVICE_TEAM (device);
NMDeviceTeamPrivate *priv = NM_DEVICE_TEAM_GET_PRIVATE (self);
if (nm_device_sys_iface_state_is_external (device))
if (priv->teamd_pid || priv->tdc)
_LOGI (LOGD_TEAM, "deactivation: stopping teamd...");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment