diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-28 09:43:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-28 09:43:37 +0000 |
commit | bcf79d92cea4979775204c7daf554a65869d1cf4 (patch) | |
tree | 16886407520c36ab035daf07dd709ea5dbbac0aa /package | |
parent | c58e271d8e118a6dda54fdc7735ce1ef1cd60b2a (diff) | |
download | upstream-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-x | package/madwifi/files/lib/wifi/madwifi.sh | 1 |
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 |