mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 23:00:07 +01:00
platform: fix handling refresh-link delayed actions
Due to a bug, we would only handle one REFRESH_LINK delayed action
and ignore the ones queued afterwards.
Fixes: 051cf8bbde
This commit is contained in:
parent
0f694f1a9a
commit
eee240ffe8
1 changed files with 1 additions and 1 deletions
|
|
@ -1619,7 +1619,7 @@ delayed_action_handle_one (NMPlatform *platform)
|
|||
|
||||
user_data = priv->delayed_action.list_refresh_link->pdata[0];
|
||||
g_ptr_array_remove_index_fast (priv->delayed_action.list_refresh_link, 0);
|
||||
if (priv->delayed_action.list_master_connected->len == 0)
|
||||
if (priv->delayed_action.list_refresh_link->len == 0)
|
||||
priv->delayed_action.flags &= ~DELAYED_ACTION_TYPE_REFRESH_LINK;
|
||||
nm_assert (_nm_utils_ptrarray_find_first (priv->delayed_action.list_refresh_link->pdata, priv->delayed_action.list_refresh_link->len, user_data) < 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue