aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-28 11:07:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-28 11:07:37 +0000
commitc7d23cbeb9a177c82076f9f94884a9713a4525ef (patch)
tree1af7de918c49e4a69bfaa0686ac44e5975dbba5e
parentda886d761a64f051b7c0f920524e9135a30c1a77 (diff)
downloadupstream-c7d23cbeb9a177c82076f9f94884a9713a4525ef.tar.gz
upstream-c7d23cbeb9a177c82076f9f94884a9713a4525ef.tar.bz2
upstream-c7d23cbeb9a177c82076f9f94884a9713a4525ef.zip
hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 39174
-rw-r--r--package/network/services/hostapd/files/netifd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index 3f99480097..dd2256578d 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -233,6 +233,7 @@ hostapd_set_bss_options() {
;;
wep)
local wep_keyidx=0
+ json_get_vars key
hostapd_append_wep_key bss_conf
append bss_conf "wep_default_key=$wep_keyidx" "$N"
[ -n "$wep_rekey" ] && append bss_conf "wep_rekey_period=$wep_rekey" "$N"