luci-0.8: merge r4711
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 20:19:42 +0000 (20:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 20:19:42 +0000 (20:19 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
modules/admin-mini/luasrc/model/cbi/mini/wifi.lua

index 9227fd2..482341c 100644 (file)
@@ -58,7 +58,7 @@ end
 if hwtype == "atheros" then
        s:option(Value, "txpower", translate("a_w_txpwr"), "dBm").rmempty = true
 
-       mode = s:option(ListValue, "mode", translate("mode"))
+       mode = s:option(ListValue, "hwmode", translate("mode"))
        mode:value("", translate("wifi_auto"))
        mode:value("11b", "802.11b")
        mode:value("11g", "802.11g")
index 22fd03f..e49fb60 100644 (file)
@@ -150,7 +150,7 @@ end
 local hwtype = m:get(wifidevs[1], "type")
 
 if hwtype == "atheros" then
-       mode = s:option(ListValue, "mode", translate("mode"))
+       mode = s:option(ListValue, "hwmode", translate("mode"))
        mode.override_values = true
        mode:value("", "auto")
        mode:value("11b", "802.11b")