From 77c46836194b5ce853ba3f502acb28d41fb768b5 Mon Sep 17 00:00:00 2001 From: Julian Labus Date: Sun, 9 Apr 2017 20:33:56 +0200 Subject: [PATCH] gluon-core: make find_phy non-local to be used in gluon-web-wifi-config --- package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua index a3208c10..21a580c5 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua @@ -153,7 +153,7 @@ local function find_phy_by_macaddr(macaddr) end end -local function find_phy(radio) +function find_phy(radio) local config = uci:get_all('wireless', radio) if not config or config.type ~= 'mac80211' then