fix typos
authorFelix Fietkau <nbd@openwrt.org>
Sat, 20 Jan 2007 23:44:45 +0000 (23:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 20 Jan 2007 23:44:45 +0000 (23:44 +0000)
SVN-Revision: 6149

package/broadcom-wl/files/lib/wifi/broadcom.sh

index 71f81a7c6510bffb691cfa01a39e9e7aa6058c32..bc3a1f371bee38de19fb460e0ae9c88d0982051a 100644 (file)
@@ -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}