diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-29 20:18:32 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-29 20:18:32 +0000 |
commit | 1a33ff8c67a9897de7b7a08de8348b0cab5f8cba (patch) | |
tree | 0dc0dd8c4a9737061597e27d9ec9de34b364b7fe | |
parent | 601deffafc9e2388f6bf4e78de090d076416e96f (diff) |
modules/admin-{mini,full}: rename "mode" to "hwmode"
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 2 |
2 files changed, 2 insertions, 2 deletions
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 a08adc58b..7ff138f77 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -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") diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index 7d05fb053..ee423f3b4 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -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") |