diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-08 11:09:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-08 11:09:52 +0000 |
commit | 03dbfd74ae3b14ac504c743864b99a2658ea3ea3 (patch) | |
tree | feb3b19de307ce6159b299321416506fa9f14303 /package/network/services | |
parent | 7dbd213406e6c48b6e0c6e69e52692313a499b80 (diff) | |
download | master-187ad058-03dbfd74ae3b14ac504c743864b99a2658ea3ea3.tar.gz master-187ad058-03dbfd74ae3b14ac504c743864b99a2658ea3ea3.tar.bz2 master-187ad058-03dbfd74ae3b14ac504c743864b99a2658ea3ea3.zip |
hostapd: recognize 8021x as an authentication mode
Currently, in order to configure the authentication daemon in
8021x mode, we need to set wireless.@wifi-iface[0].encryption="wpa"
Though it works it confuses folks as 8021x is using WEP
encryption and not WPA. Therefore the terminology itself is
confusing. This change adds 8021x as a recognized string for 8021x
authentication.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38339 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/hostapd/files/hostapd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index f856a0b739..b55b63db7c 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -93,7 +93,7 @@ hostapd_set_bss_options() { [ -n "$wpa_pair_rekey" ] && append "$var" "wpa_ptk_rekey=$wpa_pair_rekey" "$N" [ -n "$wpa_master_rekey" ] && append "$var" "wpa_gmk_rekey=$wpa_master_rekey" "$N" ;; - *wpa*) + *wpa*|*8021x*) # required fields? formats? # hostapd is particular, maybe a default configuration for failures config_get auth_server "$vif" auth_server |