mirror of https://github.com/hak5/openwrt-owl.git
hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 39174owl
parent
da886d761a
commit
c7d23cbeb9
|
@ -233,6 +233,7 @@ hostapd_set_bss_options() {
|
||||||
;;
|
;;
|
||||||
wep)
|
wep)
|
||||||
local wep_keyidx=0
|
local wep_keyidx=0
|
||||||
|
json_get_vars key
|
||||||
hostapd_append_wep_key bss_conf
|
hostapd_append_wep_key bss_conf
|
||||||
append bss_conf "wep_default_key=$wep_keyidx" "$N"
|
append bss_conf "wep_default_key=$wep_keyidx" "$N"
|
||||||
[ -n "$wep_rekey" ] && append bss_conf "wep_rekey_period=$wep_rekey" "$N"
|
[ -n "$wep_rekey" ] && append bss_conf "wep_rekey_period=$wep_rekey" "$N"
|
||||||
|
|
Loading…
Reference in New Issue