mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
hostapd: don't configure wpa_supplicant with empty password="" if no password is specified (#12912)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35358 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -106,7 +106,7 @@ wpa_supplicant_setup_vif() {
|
||||
config_get password "$vif" password
|
||||
phase2="phase2=\"auth=${auth:-MSCHAPV2}\""
|
||||
identity="identity=\"$identity\""
|
||||
password="password=\"$password\""
|
||||
password="${password:+password=\"$password\"}"
|
||||
;;
|
||||
esac
|
||||
eap_type="eap=$(echo $eap_type | tr 'a-z' 'A-Z')"
|
||||
|
||||
Reference in New Issue
Block a user