modules/admin-{mini,full}: rename "mode" to "hwmode"

This commit is contained in:
Jo-Philipp Wich 2009-05-29 20:18:32 +00:00
parent 601deffafc
commit 1a33ff8c67
2 changed files with 2 additions and 2 deletions

View 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")

View 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")