From: Felix Fietkau Date: Thu, 10 Aug 2023 14:32:08 +0000 (+0200) Subject: hostapd: add missing ucv_get call in wpa_supplicant X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe8bf65d1d59717a8418411b85144f7528b7679e;p=openwrt%2Fstaging%2Fneocturne.git hostapd: add missing ucv_get call in wpa_supplicant Should be harmless, but fix it just in case Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/hostapd/src/wpa_supplicant/ucode.c b/package/network/services/hostapd/src/wpa_supplicant/ucode.c index 660357a43d..eec3980329 100644 --- a/package/network/services/hostapd/src/wpa_supplicant/ucode.c +++ b/package/network/services/hostapd/src/wpa_supplicant/ucode.c @@ -63,7 +63,7 @@ void wpas_ucode_free_bss(struct wpa_supplicant *wpa_s) if (wpa_ucode_call_prepare("iface_remove")) return; - uc_value_push(ucv_string_new(wpa_s->ifname)); + uc_value_push(ucv_get(ucv_string_new(wpa_s->ifname))); uc_value_push(ucv_get(val)); ucv_put(wpa_ucode_call(2)); ucv_gc(vm);