fix mssid support
authorFelix Fietkau <nbd@openwrt.org>
Fri, 17 Nov 2006 05:16:01 +0000 (05:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 17 Nov 2006 05:16:01 +0000 (05:16 +0000)
SVN-Revision: 5552

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

index 4dad011320d32c158c41da1ccd71692fac1f1eca..c81aea105fba712ca20fa19cc15ae463634d9bcf 100644 (file)
@@ -167,7 +167,7 @@ enable_broadcom() {
                config_get ssid "$vif" ssid
                append vif_post_up "vlan_mode 0"
                append vif_post_up "ssid $ssid" "$N"
-               [ "$wet" = 1 -o "$apsta" = 1 -o "$ap" = 0 -o "$infra" = 0 ] && \
+               [ "$vif" = "$sta_if" -o "$vif" = "$adhoc_if" ] && \
                        append vif_do_up "ssid $ssid" "$N"
                
                append vif_post_up "enabled 1" "$N"