summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-12-13 17:19:05 +0100
committerThomas Haller <thaller@redhat.com>2017-12-21 11:22:24 +0100
commit1538ea5d910ab00d5d9ecb9dfb9449cca1a8e3df (patch)
treebbdfe3d18bfa94344fe8e4fdafff3a092320f2e0
parente6ff2df1503ad64ccb4b7fc247403da8717a3be0 (diff)
downloadNetworkManager-th/wifi-iwd-config.tar.gz
wifi: use nm_str_hash() instead of g_str_hash()th/wifi-iwd-config
-rw-r--r--src/devices/wifi/nm-device-iwd.c4
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 ();