From bbea0656a5e364ef79adf8e6a140c5d1fde7e9cb Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 13 Dec 2017 17:19:05 +0100 Subject: [PATCH] wifi: use nm_str_hash() instead of g_str_hash() --- src/devices/wifi/nm-device-iwd.c | 4 ++-- 1 file 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 ();