gluon-luci-wifi-config: fix to work with legacy configs using macaddr instead of path to identify radios
This commit is contained in:
parent
1a289341a4
commit
c913957e01
@ -98,7 +98,7 @@ for _, radio in ipairs(radios) do
|
|||||||
if config.path then
|
if config.path then
|
||||||
phy = find_phy_by_path(config.path)
|
phy = find_phy_by_path(config.path)
|
||||||
elseif config.macaddr then
|
elseif config.macaddr then
|
||||||
phy = find_phy_by_path(config.macaddr)
|
phy = find_phy_by_macaddr(config.macaddr)
|
||||||
end
|
end
|
||||||
|
|
||||||
if phy then
|
if phy then
|
||||||
|
Loading…
Reference in New Issue
Block a user