diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index f0f78914..12bc7da3 100644 --- a/src/device.c +++ b/src/device.c @@ -425,7 +425,7 @@ struct connman_device *connman_device_create(const char *node, device->networks = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, free_network); - device_list = g_slist_append(device_list, device); + device_list = g_slist_prepend(device_list, device); return device; } |