modules/admin-full: move RTS/CTS and Frag settings to device for mac80211
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Oct 2011 12:48:55 +0000 (12:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Oct 2011 12:48:55 +0000 (12:48 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 2ad3d55..57697f5 100644 (file)
@@ -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"})