gluon-core: make find_phy non-local to be used in gluon-web-wifi-config
This commit is contained in:
parent
48c66b5888
commit
77c4683619
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user