aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-08-02 13:18:03 +0200
committerFelix Fietkau <nbd@nbd.name>2023-08-02 13:30:26 +0200
commit150e6d28f2659b0614e87cc7822e93f488e11ede (patch)
treef16af9031037cce623a0b4c43b86f1c90f4f8459
parent4a4e0c636fa3e1feb4e2d7af77ff23b097d9d33a (diff)
hostapd: fix undeclared variable in common.uc
Fixes: https://github.com/openwrt/openwrt/issues/13210 Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/services/hostapd/files/common.uc2
1 files changed, 1 insertions, 1 deletions
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 });