aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/files/wpa_supplicant.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/files/wpa_supplicant.sh')
-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\""
;;