openwrt: comment out WPA[2]-EAP-specific part of the wifi form

This commit is contained in:
Bart Van Der Meerssche 2010-09-28 11:34:33 +02:00
parent c7076a4acf
commit 7463453a70
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,7 @@ function key:validate(value, section)
end end
end end
--[[
server = s:option(Value, "server", translate("a_w_radiussrv")) server = s:option(Value, "server", translate("a_w_radiussrv"))
server:depends({mode="ap", encryption="wpa"}) server:depends({mode="ap", encryption="wpa"})
server:depends({mode="ap", encryption="wpa2"}) server:depends({mode="ap", encryption="wpa2"})
@ -223,6 +224,7 @@ if hwtype == "atheros" or hwtype == "broadcom" then
hide.rmempty = true hide.rmempty = true
hide:depends("mode", "ap") hide:depends("mode", "ap")
end end
]]--
if hwtype == "mac80211" or hwtype == "atheros" then if hwtype == "mac80211" or hwtype == "atheros" then
bssid:depends({mode="adhoc"}) bssid:depends({mode="adhoc"})