X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7070b2938040d3401e54c48ea81ee274dcfbabba..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/broadcom-wl/files/lib/wifi/broadcom.sh diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index 71f81a7c6..bc3a1f371 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -178,7 +178,7 @@ enable_broadcom() { append vif_post_up "eap_restrict $eap_r" "$N" config_get ssid "$vif" ssid - append vif_post_up "vlan_mode 0" + append vif_post_up "vlan_mode 0" "$N" append vif_post_up "ssid $ssid" "$N" case "$mode" in sta|adhoc) append vif_do_up "ssid $ssid" "$N";; @@ -218,7 +218,7 @@ radio ${radio:-1} macfilter 0 maclist none wds ${wds:-none} -${channel:-channel $channel} +${channel:+channel $channel} country ${country:-IL0} maxassoc ${maxassoc:-128} slottime ${slottime:--1}