From 5e9ab28c5a3a13b1948d7f26e2a4ed426a2666ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Tue, 2 Jul 2013 15:19:41 +0200 Subject: [PATCH] core: call nm_device_queue_state() instead of direct state transition in nm_device_start_ip_check(), because it is called from the state handler (nm_device_state_changed()). Errors: (devices/nm-device.c:5585):nm_device_state_changed: runtime check failed: (priv->in_state_changed == FALSE) (eth0): device state change: ip-check -> secondaries (reason 'none') [80 90 0] --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 2534ea7adc..178d50f20d 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -4616,7 +4616,7 @@ nm_device_start_ip_check (NMDevice *self) /* If no ping was started, just advance to SECONDARIES */ if (!priv->gw_ping.pid) - nm_device_state_changed (self, NM_DEVICE_STATE_SECONDARIES, NM_DEVICE_STATE_REASON_NONE); + nm_device_queue_state (self, NM_DEVICE_STATE_SECONDARIES, NM_DEVICE_STATE_REASON_NONE); } /****************************************************************/