luci-0.8: Merge r4441
This commit is contained in:
parent
92ed481813
commit
3cb72545bb
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ end
|
||||||
------------------- Madwifi Device ------------------
|
------------------- Madwifi Device ------------------
|
||||||
|
|
||||||
if hwtype == "atheros" then
|
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("", translate("wifi_auto"))
|
||||||
mode:value("11b", "802.11b")
|
mode:value("11b", "802.11b")
|
||||||
mode:value("11g", "802.11g")
|
mode:value("11g", "802.11g")
|
||||||
|
|
|
@ -150,7 +150,7 @@ end
|
||||||
local hwtype = m:get(wifidevs[1], "type")
|
local hwtype = m:get(wifidevs[1], "type")
|
||||||
|
|
||||||
if hwtype == "atheros" then
|
if hwtype == "atheros" then
|
||||||
mode = s:option(ListValue, "hwmode", translate("mode"))
|
mode = s:option(ListValue, "mode", translate("mode"))
|
||||||
mode.override_values = true
|
mode.override_values = true
|
||||||
mode:value("", "auto")
|
mode:value("", "auto")
|
||||||
mode:value("11b", "802.11b")
|
mode:value("11b", "802.11b")
|
||||||
|
|
Loading…
Reference in a new issue