Commit bd113fe7 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

(cherry picked from commit 008a4b42)
parent fc69cf4c
......@@ -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