summaryrefslogtreecommitdiff
path: root/src/devices/wwan/nm-modem.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-03-14 08:53:32 +0100
committerThomas Haller <thaller@redhat.com>2018-03-20 15:08:18 +0100
commitf063ab41e96b1b62719837a51f71ac1d44c44b10 (patch)
treefbe9475b4140f59a95101d03741b3c613a4d743c /src/devices/wwan/nm-modem.c
parent1d5a76140d5f546d60c9c4fa9df9596978ff0f7b (diff)
downloadNetworkManager-f063ab41e96b1b62719837a51f71ac1d44c44b10.tar.gz
core: don't sort connection list for nm_utils_complete_generic()
We create the all_connections list in impl_manager_add_and_activate_connection(). With this list we either call nm_utils_complete_generic() directly, or pass it to nm_device_complete_connection(). The latter also ends up only calling nm_utils_complete_generic() with this argument. nm_utils_complete_generic() doesn't care about the order in which the connections are returned. Which also becomes apparent, because we first sorted the list, and then reverted the order with g_slist_prepend(). Do not sort the list, hence we also don't need to clone it.
Diffstat (limited to 'src/devices/wwan/nm-modem.c')
0 files changed, 0 insertions, 0 deletions