diff options
author | Thomas Haller <thaller@redhat.com> | 2017-12-13 17:19:05 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-12-27 09:18:54 +0100 |
commit | bbea0656a5e364ef79adf8e6a140c5d1fde7e9cb (patch) | |
tree | cb0f9a3c7aea4e842c4f42aa267ea05e3590314e | |
parent | fc2e4bb48f477a187f9387f89ef46b83db3d1947 (diff) | |
download | NetworkManager-bbea0656a5e364ef79adf8e6a140c5d1fde7e9cb.tar.gz |
wifi: use nm_str_hash() instead of g_str_hash()
-rw-r--r-- | src/devices/wifi/nm-device-iwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c index 36e9fe440c..da8cee2957 100644 --- a/src/devices/wifi/nm-device-iwd.c +++ b/src/devices/wifi/nm-device-iwd.c @@ -284,7 +284,7 @@ get_ordered_networks_cb (GObject *source, GAsyncResult *res, gpointer user_data) return; } - priv->new_aps = g_hash_table_new (g_str_hash, g_str_equal); + priv->new_aps = g_hash_table_new (nm_str_hash, g_str_equal); g_variant_get (variant, "(a(osns))", &networks); @@ -1791,7 +1791,7 @@ nm_device_iwd_init (NMDeviceIwd *self) { NMDeviceIwdPrivate *priv = NM_DEVICE_IWD_GET_PRIVATE (self); - priv->aps = g_hash_table_new (g_str_hash, g_str_equal); + priv->aps = g_hash_table_new (nm_str_hash, g_str_equal); /* Make sure the manager is running */ (void) nm_iwd_manager_get (); |