broadcom-wl: set vlan_mode for every enabled interface
authorFelix Fietkau <nbd@openwrt.org>
Sun, 27 Aug 2006 11:22:19 +0000 (11:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 27 Aug 2006 11:22:19 +0000 (11:22 +0000)
SVN-Revision: 4684

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

index 2c95102..435c440 100644 (file)
@@ -133,6 +133,7 @@ setup_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 "ssid $ssid" "$N"
                append vif_post_up "enabled 1" "$N"
                
@@ -158,7 +159,6 @@ infra $infra
 ${wet:+wet 1}
 
 radio ${radio:-1}
-vlan_mode 0
 macfilter 0
 maclist none
 wds none