summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-17 05:16:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-17 05:16:01 +0000
commit44ebd8d5782c1ca1ba8a25035328b7f7fcb09e25 (patch)
tree9f88b4a689087eeade19b14ec109bde8da3ead5f /package/broadcom-wl/files
parent1e428b677bc28fcd0cb83e96af11d5bae3176212 (diff)
downloadmtk-20170518-44ebd8d5782c1ca1ba8a25035328b7f7fcb09e25.zip
mtk-20170518-44ebd8d5782c1ca1ba8a25035328b7f7fcb09e25.tar.gz
mtk-20170518-44ebd8d5782c1ca1ba8a25035328b7f7fcb09e25.tar.bz2
fix mssid support
SVN-Revision: 5552
Diffstat (limited to 'package/broadcom-wl/files')
-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 4dad011..c81aea1 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"