modules/admin-{mini,full}: rename "mode" to "hwmode"
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 20:18:32 +0000 (20:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 20:18:32 +0000 (20:18 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
modules/admin-mini/luasrc/model/cbi/mini/wifi.lua

index a08adc5..7ff138f 100644 (file)
@@ -57,7 +57,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 7d05fb0..ee423f3 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")