------------------- 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")
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")