diff --git a/package/gluon-luci-wifi-config/files/usr/lib/lua/luci/model/cbi/admin/wifi-config.lua b/package/gluon-luci-wifi-config/files/usr/lib/lua/luci/model/cbi/admin/wifi-config.lua index 060fb22b..efff8657 100644 --- a/package/gluon-luci-wifi-config/files/usr/lib/lua/luci/model/cbi/admin/wifi-config.lua +++ b/package/gluon-luci-wifi-config/files/usr/lib/lua/luci/model/cbi/admin/wifi-config.lua @@ -98,7 +98,7 @@ for _, radio in ipairs(radios) do if config.path then phy = find_phy_by_path(config.path) elseif config.macaddr then - phy = find_phy_by_path(config.macaddr) + phy = find_phy_by_macaddr(config.macaddr) end if phy then