1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network
Matthew Cather 1af7bf38f7 hostapd: consistent reference counting for registry
Since `wpa_ucode_registry_add` collects its own reference to the values added, the
two functions `hostapd_ucode_bss_get_uval` and `hostapd_ucode_iface_get_uval` would
sometimes return a referenced object (from `uc_resource_new`) and sometimes return
an unreferenced object (from `wpa_ucode_registry_get`). Now, both functions always
return a referenced object.

This change also indirectly fixes `hostapd_ucode_bss_get_uval`, ensuring it now
always returns a referenced object.

Signed-off-by: Matthew Cather <mattbob4@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 7729f96093)
2025-03-05 08:04:52 +01:00
..
config wifi-scripts: fix mac address allocation with macaddr_base set 2025-02-11 18:30:27 +01:00
ipv6 odhcp6c: update to Git HEAD (2024-09-25) 2024-11-28 18:48:02 +00:00
services hostapd: consistent reference counting for registry 2025-03-05 08:04:52 +01:00
utils ethtool: work-around ETHTOOL_GRSSH/ETHTOOL_SRSSH ABI breakage 2025-02-28 13:20:22 +00:00