summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-27 00:12:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-27 00:12:25 +0000
commit9cc54c7f15d4a11a1eab5136a255896559511df6 (patch)
treee0c55e481f2b663071444778e4fd4b9a865a1f18 /modules/admin-mini
parentd81b3548a92a7a9db95d2587d6d15aebdc9b8652 (diff)
modules/admin-{mini,full}: rename option "hwmode" to "mode" since hwmode is now used for hostapd and mode for madwifi...
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index 2a76a49f2..056b5ee4b 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")