mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 13:48:36 +02:00
ovs: only finish waiting for a link when we actually got one
https://bugzilla.redhat.com/show_bug.cgi?id=1546659
(cherry picked from commit 7af1bc7cf0)
This commit is contained in:
parent
ce5b8ac8a4
commit
00bdd67e08
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ link_changed (NMDevice *device,
|
||||||
{
|
{
|
||||||
NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device);
|
NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device);
|
||||||
|
|
||||||
if (priv->waiting_for_interface) {
|
if (pllink && priv->waiting_for_interface) {
|
||||||
priv->waiting_for_interface = FALSE;
|
priv->waiting_for_interface = FALSE;
|
||||||
nm_device_bring_up (device, TRUE, NULL);
|
nm_device_bring_up (device, TRUE, NULL);
|
||||||
nm_device_activate_schedule_stage3_ip_config_start (device);
|
nm_device_activate_schedule_stage3_ip_config_start (device);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue