mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 07:40:12 +01:00
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) <info> (eth0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
This commit is contained in:
parent
c8d5f73218
commit
5e9ab28c5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue