aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-28 09:43:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-28 09:43:37 +0000
commitbcf79d92cea4979775204c7daf554a65869d1cf4 (patch)
tree16886407520c36ab035daf07dd709ea5dbbac0aa /package
parentc58e271d8e118a6dda54fdc7735ce1ef1cd60b2a (diff)
downloadupstream-bcf79d92cea4979775204c7daf554a65869d1cf4.tar.gz
upstream-bcf79d92cea4979775204c7daf554a65869d1cf4.tar.bz2
upstream-bcf79d92cea4979775204c7daf554a65869d1cf4.zip
madwifi: set essid on to avoid association with different ssid (patch from #3937)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12759 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 1f540a0f7e..df345316b5 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -258,6 +258,7 @@ enable_atheros() {
config_set "$vif" bridge "$bridge"
start_net "$ifname" "$net_cfg"
}
+ [ -n "$ssid" ] && iwconfig "$ifname" essid on
iwconfig "$ifname" essid "$ssid"
set_wifi_up "$vif" "$ifname"
case "$mode" in