diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-08-10 16:32:08 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-08-10 19:09:42 +0200 |
commit | fe8bf65d1d59717a8418411b85144f7528b7679e (patch) | |
tree | 216a8535a4eb2de388c8413157d7579bf6126adc | |
parent | 6cb8bb1675ec91bbd2c3b53b6a36d531330570d7 (diff) | |
download | openwrt-fe8bf65d1d59717a8418411b85144f7528b7679e.tar.gz openwrt-fe8bf65d1d59717a8418411b85144f7528b7679e.tar.bz2 openwrt-fe8bf65d1d59717a8418411b85144f7528b7679e.zip |
hostapd: add missing ucv_get call in wpa_supplicant
Should be harmless, but fix it just in case
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/network/services/hostapd/src/wpa_supplicant/ucode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |