From: Felix Fietkau Date: Sat, 28 Dec 2013 11:07:37 +0000 (+0000) Subject: hostapd: fix mixed wep/wpa with netifd X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=152a84ac460c82834498889fa68149d6faee5cb3;p=openwrt%2Fsvn-archive%2Farchive.git hostapd: fix mixed wep/wpa with netifd Signed-off-by: Catalin Patulea SVN-Revision: 39174 --- 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"