modules/admin-core: define size constraints for psk in wireless schema

This commit is contained in:
Jo-Philipp Wich 2009-03-04 22:45:02 +00:00
parent 0feb0a4607
commit bddbad3490

View file

@ -453,6 +453,8 @@ config variable
option name 'key' option name 'key'
option section 'wireless.wifi-iface' option section 'wireless.wifi-iface'
option title 'Key' option title 'Key'
option minlength 8
option maxlength 63
list depends 'encryption=wep' list depends 'encryption=wep'
list depends 'encryption=psk' list depends 'encryption=psk'
list depends 'encryption=wpa,mode=ap' list depends 'encryption=wpa,mode=ap'