}
disable_broadcom() {
+ set_wifi_down "$1"
wlc down
(
include /lib/network
[ -z "$net_cfg" ] || {
bridge="$(bridge_interface "$net_cfg")"
append if_up "start_net '$ifname' '$net_cfg'" ";$N"
+ append if_up "set_wifi_up '$vif' '$ifname'" ";$N"
}
[ -z "$nasopts" ] || {
eval "${vif}_ssid=\"\$ssid\""
radio ${radio:-1}
macfilter 0
maclist none
-wds ${wds:-none}
+wds none
+${wds:+wds $wds}
${channel:+channel $channel}
country ${country:-IL0}
maxassoc ${maxassoc:-128}