From: Jo-Philipp Wich Date: Thu, 13 Oct 2011 12:48:55 +0000 (+0000) Subject: modules/admin-full: move RTS/CTS and Frag settings to device for mac80211 X-Git-Tag: 0.11.0~1548 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d845a4e450258253bbd7da35ac22f40c106d7761;p=oweals%2Fluci.git modules/admin-full: move RTS/CTS and Frag settings to device for mac80211 --- 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 2ad3d5513..57697f573 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"})