modules/admin-full: do not generate submenu items per wifi-device anymore
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 29 Oct 2009 02:35:23 +0000 (02:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 29 Oct 2009 02:35:23 +0000 (02:35 +0000)
modules/admin-full/luasrc/controller/admin/network.lua

index bb880685ab71497432b64b75e94f22281c332bca..eb2e6a244c1bafeb6020888c2b9ebb9cb0598d00 100644 (file)
@@ -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