summaryrefslogtreecommitdiff
path: root/package/hostapd/files
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-03 10:39:29 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-03 10:39:29 +0000
commit639be1ec8159b0d720d6269ea21817c6e450d5c9 (patch)
tree6f88c37b66b3882db1d20bc71eedb22100db0eda /package/hostapd/files
parentcb7138af960e370aba8cb525ff56e54c26a6218b (diff)
[package] hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23817 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/files')
-rw-r--r--package/hostapd/files/wpa_supplicant.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh
index 515fa6c0da..6112517f37 100644
--- a/package/hostapd/files/wpa_supplicant.sh
+++ b/package/hostapd/files/wpa_supplicant.sh
@@ -77,8 +77,10 @@ wpa_supplicant_setup_vif() {
tls)
pairwise='pairwise=CCMP'
group='group=CCMP'
+ config_get identity "$vif" identity
config_get priv_key "$vif" priv_key
config_get priv_key_pwd "$vif" priv_key_pwd
+ identity="identity=\"$identity\""
priv_key="private_key=\"$priv_key\""
priv_key_pwd="private_key_passwd=\"$priv_key_pwd\""
;;