Signed-off-by: Catalin Patulea <c...@vv.carleton.ca>
---
One more fix. Tested by Manp on this thread:
https://forum.openwrt.org/viewtopic.php?pid=220700#p220700

 package/network/services/hostapd/files/netifd.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/hostapd/files/netifd.sh 
b/package/network/services/hostapd/files/netifd.sh
index 1589bc1..b3ca866 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"
-- 
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to