summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-09-25 23:29:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-09-25 23:29:21 +0000
commit2829139f35a6123b0e40c16cf2813fed808d61e6 (patch)
treeb8d80982aa2656e1c6510dd234a7623bc25309b4
parent730b2b0d07bfa2c8aeeb8877aaf2444e5ccbc7a4 (diff)
modules/admin-full: register missing wireless actions
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua14
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index d76f83ffb6..9d9aab4a2c 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -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