summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-13 12:48:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-13 12:48:55 +0000
commitd845a4e450258253bbd7da35ac22f40c106d7761 (patch)
treef7d53709735c83994ae71cb8c023bb6cbae5a238 /modules/admin-full/luasrc/model
parent916595758180d9b9e52bf753250b1efaef1b5845 (diff)
modules/admin-full: move RTS/CTS and Frag settings to device for mac80211
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 2ad3d5513e..57697f573c 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -170,6 +170,9 @@ if hwtype == "mac80211" then
s:taboption("advanced", Value, "distance", translate("Distance Optimization"),
translate("Distance to farthest network member in meters."))
+
+ s:taboption("advanced", Value, "frag", translate("Fragmentation Threshold"))
+ s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold"))
end
@@ -354,9 +357,6 @@ if hwtype == "mac80211" then
mode:value("monitor", translate("Monitor"))
bssid:depends({mode="adhoc"})
- s:taboption("advanced", Value, "frag", translate("Fragmentation Threshold"))
- s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold"))
-
mp = s:taboption("macfilter", ListValue, "macfilter", translate("MAC-Address Filter"))
mp:depends({mode="ap"})
mp:depends({mode="ap-wds"})