فهرست منبع

hostapd: fix undeclared variable in common.uc

Fixes: https://github.com/openwrt/openwrt/issues/13210
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 2 سال پیش
والد
کامیت
150e6d28f2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      package/network/services/hostapd/files/common.uc

+ 1 - 1
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 });