shared: fix returning out_len from nm_utils_hash_values_to_array()

The only affected caller is nm_modem_manager_get_modems(), which
is used by NMDeviceBt for DUN connections. This is rather bad.

Fixes: 4154d9618c ('bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data')
Fixes: e688e70b37 ('shared: add nm_utils_hash_values_to_array() helper')
(cherry picked from commit 037507f790)
This commit is contained in:
Thomas Haller 2020-02-17 17:52:06 +01:00
parent 4200d0a85b
commit b1dcfcb7b7

View file

@ -2507,6 +2507,7 @@ nm_utils_hash_values_to_array (GHashTable *hash,
user_data);
}
NM_SET_OUT (out_len, len);
return arr;
}