e1000: Fix AMT losing connectivity when switching VLAN in passive mode
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com>
This commit is contained in:
parent
5b66ba0db8
commit
c5f226fe97
1 changed files with 2 additions and 1 deletions
|
@ -373,7 +373,8 @@ e1000_update_mng_vlan(struct e1000_adapter *adapter)
|
||||||
(vid != old_vid) &&
|
(vid != old_vid) &&
|
||||||
!adapter->vlgrp->vlan_devices[old_vid])
|
!adapter->vlgrp->vlan_devices[old_vid])
|
||||||
e1000_vlan_rx_kill_vid(netdev, old_vid);
|
e1000_vlan_rx_kill_vid(netdev, old_vid);
|
||||||
}
|
} else
|
||||||
|
adapter->mng_vlan_id = vid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue