From: Felix Fietkau Date: Wed, 2 Aug 2023 11:18:03 +0000 (+0200) Subject: hostapd: fix undeclared variable in common.uc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=150e6d28f2659b0614e87cc7822e93f488e11ede;p=openwrt%2Fstaging%2Fhauke.git hostapd: fix undeclared variable in common.uc Fixes: https://github.com/openwrt/openwrt/issues/13210 Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/hostapd/files/common.uc b/package/network/services/hostapd/files/common.uc index 2002572cf1..9ece3b1af2 100644 --- a/package/network/services/hostapd/files/common.uc +++ b/package/network/services/hostapd/files/common.uc @@ -34,7 +34,7 @@ function find_reusable_wdev(phyidx) if (!__phy_is_fullmac(phyidx)) return null; - data = nl80211.request( + let data = nl80211.request( nl80211.const.NL80211_CMD_GET_INTERFACE, nl80211.const.NLM_F_DUMP, { wiphy: phyidx });