From: Jo-Philipp Wich Date: Thu, 29 Oct 2009 02:35:23 +0000 (+0000) Subject: modules/admin-full: do not generate submenu items per wifi-device anymore X-Git-Tag: 0.10.0~1047 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=dab004b0afd18393f0cb09c82188052d2fe1cfb1;ds=sidebyside modules/admin-full: do not generate submenu items per wifi-device anymore --- diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index bb880685a..eb2e6a244 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -34,15 +34,6 @@ function index() page.leaf = true page.subindex = true - uci:foreach("wireless", "wifi-device", - function (section) - local ifc = section[".name"] - entry({"admin", "network", "wireless", ifc}, - true, - ifc:upper()).i18n = "wifi" - end - ) - local page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil, 16) page.i18n = "wifi" page.leaf = true