mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 02:10:17 +01:00
wifi: use nm_str_hash() instead of g_str_hash()
This commit is contained in:
parent
fc2e4bb48f
commit
bbea0656a5
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue