quick hack fix

This commit is contained in:
Strhuan Blomquist 2013-10-10 10:56:54 +02:00
parent c0fc89d100
commit 4aa69bf3bc

View file

@ -550,12 +550,12 @@ set_wlan_wep_key() {
set_wlan_pre_shared_key() {
local num="$1"
local val="$2"
local val="$3"
reset_wlan $num
delay_service reload "network" "1"
$UCI_SET wireless.@wifi-iface[$num].key=$val
$UCI_SET wireless.@wifi-iface[$num].gtk_rekey="3600"
$UCI_SET wireless.@wifi-iface[$num].encryption="$val"
#$UCI_SET wireless.@wifi-iface[$num].encryption="$val"
}
set_wlan_pre_shared_key_key_passphrase() {
@ -697,4 +697,4 @@ add_object_InternetGatewayDevice_LANDevice() {
delete_object_InternetGatewayDevice_LANDevice() {
return $FAULT_CPE_INVALID_PARAMETER_NAME
}
}