mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39174 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9996673fda
commit
ca641673c7
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user