mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 07:18:03 +02:00
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 commit037507f790)
This commit is contained in:
parent
4200d0a85b
commit
b1dcfcb7b7
1 changed files with 1 additions and 0 deletions
|
|
@ -2507,6 +2507,7 @@ nm_utils_hash_values_to_array (GHashTable *hash,
|
||||||
user_data);
|
user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NM_SET_OUT (out_len, len);
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue