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 bb88068..eb2e6a2 100644 (file)
@@ -34,15 +34,6 @@ function index()
        page.leaf = true
        page.subindex = true
 
        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
        local page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil, 16)
        page.i18n = "wifi"
        page.leaf = true