modules/admin-{mini,full}: rename option "hwmode" to "mode" since hwmode is now used for hostapd and mode for madwifi...

This commit is contained in:
Jo-Philipp Wich 2009-04-27 00:12:25 +00:00
parent d81b3548a9
commit 9cc54c7f15
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ end
------------------- Madwifi Device ------------------
if hwtype == "atheros" then
mode = s:option(ListValue, "hwmode", translate("mode"))
mode = s:option(ListValue, "mode", 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, "hwmode", translate("mode"))
mode = s:option(ListValue, "mode", translate("mode"))
mode.override_values = true
mode:value("", "auto")
mode:value("11b", "802.11b")