From: Jo-Philipp Wich Date: Mon, 27 Apr 2009 00:18:40 +0000 (+0000) Subject: luci-0.8: Merge r4441 X-Git-Tag: 0.8.7~64 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cb72545bbe4b8034facb01b88df45a3f10b98a2;p=oweals%2Fluci.git luci-0.8: Merge r4441 --- 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 08861448e..e9261a379 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -66,7 +66,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") diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index e87e7ed6e..6cf087432 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, "hwmode", translate("mode")) + mode = s:option(ListValue, "mode", translate("mode")) mode.override_values = true mode:value("", "auto") mode:value("11b", "802.11b")