mirror of https://github.com/hak5/openwrt.git
hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
SVN-Revision: 23817lede-17.01
parent
0e2b397a8b
commit
87cba7eb46
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hostapd
|
PKG_NAME:=hostapd
|
||||||
PKG_VERSION:=20100705
|
PKG_VERSION:=20100705
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_REV:=2f1ce78bf78cecd7021385b04a4f55f22e76ab97
|
PKG_REV:=2f1ce78bf78cecd7021385b04a4f55f22e76ab97
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
|
|
@ -77,8 +77,10 @@ wpa_supplicant_setup_vif() {
|
||||||
tls)
|
tls)
|
||||||
pairwise='pairwise=CCMP'
|
pairwise='pairwise=CCMP'
|
||||||
group='group=CCMP'
|
group='group=CCMP'
|
||||||
|
config_get identity "$vif" identity
|
||||||
config_get priv_key "$vif" priv_key
|
config_get priv_key "$vif" priv_key
|
||||||
config_get priv_key_pwd "$vif" priv_key_pwd
|
config_get priv_key_pwd "$vif" priv_key_pwd
|
||||||
|
identity="identity=\"$identity\""
|
||||||
priv_key="private_key=\"$priv_key\""
|
priv_key="private_key=\"$priv_key\""
|
||||||
priv_key_pwd="private_key_passwd=\"$priv_key_pwd\""
|
priv_key_pwd="private_key_passwd=\"$priv_key_pwd\""
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue