summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-17 05:16:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-17 05:16:01 +0000
commitd9e2322aa8a643e80549e9d4c0cf695447767869 (patch)
tree09fe1a6d6cad203868b7a8e5c56fc1390cf28f8f
parent3a056ac80d0cc15104587825fd39afcfab1aa1f3 (diff)
fix mssid support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5552 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index 4dad01132..c81aea105 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -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"