aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2010-11-03 10:39:29 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2010-11-03 10:39:29 +0000
commitb848594c3c66929457992bc6e63ef630037958b2 (patch)
tree6f88c37b66b3882db1d20bc71eedb22100db0eda
parent286a9a67ee84128855ac31fe275b2dbaba7cd565 (diff)
downloadupstream-b848594c3c66929457992bc6e63ef630037958b2.tar.gz
upstream-b848594c3c66929457992bc6e63ef630037958b2.tar.bz2
upstream-b848594c3c66929457992bc6e63ef630037958b2.zip
[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
-rw-r--r--package/hostapd/Makefile2
-rw-r--r--package/hostapd/files/wpa_supplicant.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 172e89b259..6f3c639e69 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hostapd
PKG_VERSION:=20100705
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_REV:=2f1ce78bf78cecd7021385b04a4f55f22e76ab97
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
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\""
;;