mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
device: prepend pending actions list
The order doesn't matter, so prepend instead of append new items to the pending-actions list.
This commit is contained in:
parent
3bc1e02adf
commit
e347d96596
|
@ -11272,7 +11272,7 @@ nm_device_add_pending_action (NMDevice *self, const char *action, gboolean asser
|
|||
count++;
|
||||
}
|
||||
|
||||
priv->pending_actions = g_slist_append (priv->pending_actions, (char *) action);
|
||||
priv->pending_actions = g_slist_prepend (priv->pending_actions, (char *) action);
|
||||
count++;
|
||||
|
||||
_LOGD (LOGD_DEVICE, "add_pending_action (%d): '%s'", count, action);
|
||||
|
|
Loading…
Reference in a new issue