diff options
author | brueffer <brueffer@FreeBSD.org> | 2011-09-13 21:39:26 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2011-09-13 21:39:26 +0000 |
commit | 8494658150198f84d6b4f924e45deb4918496bb3 (patch) | |
tree | 2d1b6e41555385823de4106a86bfcab0725f4b75 | |
parent | e650288326ba09cc1909370f8968f1bdfb412f67 (diff) | |
download | FreeBSD-src-8494658150198f84d6b4f924e45deb4918496bb3.zip FreeBSD-src-8494658150198f84d6b4f924e45deb4918496bb3.tar.gz |
Allow WPA PSKs up to 63 characters, the max length according to
wpa_supplicant.conf(5). Up to now, the PSK was truncated
to 15 characters (the length of the input field).
PR: 159559
Submitted by: Gavin Chappell <gavin.chappell@gmail.com>
Approved by: re (kib)
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/wlanconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig index c62312a..6894279 100755 --- a/usr.sbin/bsdinstall/scripts/wlanconfig +++ b/usr.sbin/bsdinstall/scripts/wlanconfig @@ -92,7 +92,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; then PASS=`dialog --insecure --backtitle "FreeBSD Installer" \ --title "WPA Setup" --mixedform "" 0 0 0 \ "SSID" 1 0 "$NETWORK" 1 12 0 0 2 \ - "Password" 2 0 "" 2 12 15 0 1 \ + "Password" 2 0 "" 2 12 15 63 1 \ 2>&1 1>&3` \ || exec $0 $@ exec 3>&- |