From: Jo-Philipp Wich Date: Tue, 9 Mar 2010 21:22:17 +0000 (+0000) Subject: modules/admin-full: don't expose ht capabilities in wifi config X-Git-Tag: 0.10.0~824 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7867017972adb7e332a398df03f7de29820e9314;p=oweals%2Fluci.git modules/admin-full: don't expose ht capabilities in wifi config --- 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 8aaf591b7..b79ae109b 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -130,11 +130,11 @@ if hwtype == "mac80211" then htmode:value("HT20", "20MHz") htmode:value("HT40-", translate("40MHz 2nd channel below")) htmode:value("HT40+", translate("40MHz 2nd channel above")) - - htcapab = s:taboption("advanced", DynamicList, "ht_capab", translate("HT capabilities")) - htcapab:depends("hwmode", "11na") - htcapab:depends("hwmode", "11ng") - + + --htcapab = s:taboption("advanced", DynamicList, "ht_capab", translate("HT capabilities")) + --htcapab:depends("hwmode", "11na") + --htcapab:depends("hwmode", "11ng") + s:taboption("advanced", Value, "country", translate("Country Code"), translate("Use ISO/IEC 3166 alpha2 country codes.")) s:taboption("advanced", Value, "distance", translate("Distance Optimization"), translate("Distance to farthest network member in meters."))