[PATCH] Change fast frames option from value to flag type
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 7 May 2009 14:17:58 +0000 (14:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 7 May 2009 14:17:58 +0000 (14:17 +0000)
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
modules/admin-core/root/lib/uci/schema/default/wireless
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 569852adb9e995fc4611179a2d2f4f84e16e15d5..7e720490c36a67c5dfc5f7603aa9575959c922ce 100644 (file)
@@ -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'
index 079d89549d68472c0560f6ea89d0d9e2c7c9c97d..72c79b68c3ff1df32c6e36351dabefc9c1cf5a83 100644 (file)
@@ -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