aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/files/lib/wifi/broadcom.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-20 23:44:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-20 23:44:45 +0000
commit7248b5e0a964892581e83bb52265c51f98db7040 (patch)
tree42e81f52a8bdeb38697233443f315cb7770bbbac /package/broadcom-wl/files/lib/wifi/broadcom.sh
parent54c017e74b36c90295a3ad0baf6e5521acea1b0a (diff)
downloadupstream-7248b5e0a964892581e83bb52265c51f98db7040.tar.gz
upstream-7248b5e0a964892581e83bb52265c51f98db7040.tar.bz2
upstream-7248b5e0a964892581e83bb52265c51f98db7040.zip
fix typos
SVN-Revision: 6149
Diffstat (limited to 'package/broadcom-wl/files/lib/wifi/broadcom.sh')
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index 71f81a7c65..bc3a1f371b 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}