diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-07 14:17:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-07 14:17:58 +0000 |
commit | 00f1c31b8bd70585b9954aaa41ce6f6b46e543bd (patch) | |
tree | f80c1465403cef7433346f1a55c1a70428430162 | |
parent | f48b4a3744c5b084a7009c1635f7b4315de22f6c (diff) |
[PATCH] Change fast frames option from value to flag type
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
-rw-r--r-- | modules/admin-core/root/lib/uci/schema/default/wireless | 1 | ||||
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/wireless b/modules/admin-core/root/lib/uci/schema/default/wireless index 569852adb..7e720490c 100644 --- a/modules/admin-core/root/lib/uci/schema/default/wireless +++ b/modules/admin-core/root/lib/uci/schema/default/wireless @@ -377,6 +377,7 @@ config variable option name 'ff' option section 'wireless.wifi-iface' option title 'Fast Frames (atheros)' + option datatype boolean config variable option name 'wmm' 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 079d89549..72c79b68c 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -226,7 +226,7 @@ if hwtype == "atheros" then s:option(Flag, "bursting", translate("wifi_bursting")).optional = true s:option(Flag, "turbo", translate("wifi_turbo")).optional = true - s:option(Value, "ff", translate("wifi_ff")).optional = true + s:option(Flag, "ff", translate("wifi_ff")).optional = true s:option(Flag, "wmm", translate("wifi_wmm")).optional = true s:option(Flag, "xr", translate("wifi_xr")).optional = true |