mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 13:00:12 +01:00
wifi: fix handling APs list using string-hashing
Commitd518278011changed the hashing for the APs to use direct-hashing. That was wrong because get_ap_by_path() needs a full string-comparison. Fixes:d518278011
This commit is contained in:
parent
3e3bceb6db
commit
914d875dc2
1 changed files with 1 additions and 1 deletions
|
|
@ -2881,7 +2881,7 @@ nm_device_wifi_init (NMDeviceWifi *self)
|
|||
NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (self);
|
||||
|
||||
priv->mode = NM_802_11_MODE_INFRA;
|
||||
priv->aps = g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||
priv->aps = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue