modules/admin-full: register missing wireless actions
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Sep 2011 23:29:21 +0000 (23:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Sep 2011 23:29:21 +0000 (23:29 +0000)
modules/admin-full/luasrc/controller/admin/network.lua

index d76f83ffb66493cfa2668607bbcece63e34b9b72..9d9aab4a2c77e50e5ea45dbefc8d600ad7915fe1 100644 (file)
@@ -48,16 +48,22 @@ function index()
                page.leaf = true
                page.subindex = true
 
-               page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil, 16)
+               page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil)
                page.leaf = true
 
-               page = entry({"admin", "network", "wireless_add"}, call("wifi_add"), nil, 16)
+               page = entry({"admin", "network", "wireless_add"}, call("wifi_add"), nil)
                page.leaf = true
 
-               page = entry({"admin", "network", "wireless_delete"}, call("wifi_delete"), nil, 16)
+               page = entry({"admin", "network", "wireless_delete"}, call("wifi_delete"), nil)
                page.leaf = true
 
-               page = entry({"admin", "network", "wireless_status"}, call("wifi_status"), nil, 16)
+               page = entry({"admin", "network", "wireless_status"}, call("wifi_status"), nil)
+               page.leaf = true
+
+               page = entry({"admin", "network", "wireless_reconnect"}, call("wifi_reconnect"), nil)
+               page.leaf = true
+
+               page = entry({"admin", "network", "wireless_shutdown"}, call("wifi_reconnect"), nil)
                page.leaf = true
 
                local wdev