mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:07:11 +02:00
[package] broadcom-wl: implement wpa_group_rekey option (mapped to nas -g)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28208 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e1f20d7ef7
commit
c06524225b
@ -236,8 +236,11 @@ enable_broadcom() {
|
||||
*tkip*) wsec=2;;
|
||||
esac
|
||||
|
||||
# group rekey interval
|
||||
config_get rekey "$vif" wpa_group_rekey
|
||||
|
||||
eval "${vif}_key=\"\$key\""
|
||||
nasopts="-k \"\$${vif}_key\""
|
||||
nasopts="-k \"\$${vif}_key\"${rekey:+ -g $rekey}"
|
||||
;;
|
||||
*wpa*)
|
||||
wsec_r=1
|
||||
@ -260,8 +263,11 @@ enable_broadcom() {
|
||||
*tkip*) wsec=2;;
|
||||
esac
|
||||
|
||||
# group rekey interval
|
||||
config_get rekey "$vif" wpa_group_rekey
|
||||
|
||||
eval "${vif}_key=\"\$key\""
|
||||
nasopts="-r \"\$${vif}_key\" -h $server -p ${port:-1812}"
|
||||
nasopts="-r \"\$${vif}_key\" -h $server -p ${port:-1812}${rekey:+ -g $rekey}"
|
||||
;;
|
||||
esac
|
||||
append vif_do_up "wsec $wsec" "$N"
|
||||
|
Loading…
Reference in New Issue
Block a user