summaryrefslogtreecommitdiff
path: root/package/hostapd/files
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2010-11-03 10:39:29 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2010-11-03 10:39:29 +0000
commit87cba7eb466c140230b1af36df23cfb2d2b928a9 (patch)
tree94d4c6e1ca5b257064f65d08e9c28cb906f76f37 /package/hostapd/files
parent0e2b397a8b88662d4a122148249bfd9d4116e8fe (diff)
downloadmtk-20170518-87cba7eb466c140230b1af36df23cfb2d2b928a9.zip
mtk-20170518-87cba7eb466c140230b1af36df23cfb2d2b928a9.tar.gz
mtk-20170518-87cba7eb466c140230b1af36df23cfb2d2b928a9.tar.bz2
hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
SVN-Revision: 23817
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 515fa6c..6112517 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\""
;;