Skip to content
Snippets Groups Projects
Unverified Commit c913957e authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-luci-wifi-config: fix to work with legacy configs using macaddr instead...

gluon-luci-wifi-config: fix to work with legacy configs using macaddr instead of path to identify radios
parent 1a289341
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ for _, radio in ipairs(radios) do ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment